Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on Mac #51

Open
tofi86 opened this issue Mar 22, 2020 · 8 comments
Open

Not working on Mac #51

tofi86 opened this issue Mar 22, 2020 · 8 comments

Comments

@tofi86
Copy link

tofi86 commented Mar 22, 2020

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

@thibautjombart
Copy link

+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

@thibautjombart
Copy link

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.

@ad-m
Copy link
Owner

ad-m commented May 13, 2020

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.

@mzabaluev
Copy link

@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.

@ad-m
Copy link
Owner

ad-m commented May 15, 2020

Could you confirm it is fixed?

@mzabaluev
Copy link

@mzabaluev
Copy link

mzabaluev commented May 16, 2020

Feel free to crib from the workflow in my test repository for testing the action in all environments 😁

@thibautjombart
Copy link

thibautjombart commented May 21, 2020

Sorry about the late reply. The current @master works fine. Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants