github-push-action
github-push-action copied to clipboard
Not working on Mac
I'm running a build on Mac OS and try to push changes back with the following config:
jobs:
release:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
...
- name: Set up GitHub Actions git user
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
- name: do changes
run: ...
- name: Push maven-release-plugin changes
uses: ad-m/[email protected]
with:
tags: true
github_token: ${{ secrets.GITHUB_TOKEN }}
However, this results in an error:
Push maven-release-plugin changes
Run ad-m/[email protected]
with:
tags: true
github_token: ***
branch: master
directory: .
env:
JAVA_HOME: /Users/runner/hostedtoolcache/jdk/8.0.242/x64
JAVA_HOME_8.0.242_x64: /Users/runner/hostedtoolcache/jdk/8.0.242/x64
##[error]Container action is only supported on Linux
Why is it not supported on Mac OS? Does anyone have a workaround for that?
Thanks for your help and all the best, Tobias
+1 to this; using this in worflows where ubuntu-latest
is not supported but MacOS works, so would be very handy to be able to use this action on MacOS environemt too
For what it's worth, the project I would need this for is the real-time analysis of COVID-19 data pipelines for the London School of Hygiene and Tropical Medicine - modelling group.
What version of action are you using? Could you try ad-m/github-push-action@master
? I believe we not longer use container-based action, so issue is no longer valid, but I don't have any experience with GitHub Actions on macOS.
@ad-m If this is fixed, can you make a new release tag? It feels fragile to depend on an action subject to breaking changes in the master
branch.
Could you confirm it is fixed?
@ad-m Works fine on MacOS: https://github.com/mzabaluev/test-github-push/runs/680534681?check_suite_focus=true
Feel free to crib from the workflow in my test repository for testing the action in all environments :grin:
Sorry about the late reply. The current @master
works fine. Thanks! :)