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

Automatically produce all binaries for releases from GitHub Actions #106

Merged
merged 8 commits into from
Dec 7, 2020

Conversation

TheTechsTech
Copy link
Contributor

In reference to https://github.com/jinfeihan57/p7zip/issues/105.

Having a Apple Mac is not necessary, the binaries are already being produced and tested on macOS platform. It seems the project here was uploading the binaries, when there is really no need for that, plus this is more secure.

- name: Upload the cmake Linux binary artifacts
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain the work flow here? I'm not very good at git action.
Should I set a secrets.GITHUB_TOKEN ?
Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, that is provided, pulled in by GitHub Actions. The action and binaries for release are only produced when you go and actually create an release tag.

As i have here: https://github.com/techno-express/p7zip/releases

This is from https://github.com/marketplace/actions/upload-files-to-a-github-release

@jinfeihan57
Copy link
Contributor

Thanks! ; )

@jinfeihan57 jinfeihan57 merged commit a666ee0 into p7zip-project:master Dec 7, 2020
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

Successfully merging this pull request may close these issues.

2 participants