Skip to content

Port nightly build to github actions #9

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

Closed
lazka opened this issue Jun 30, 2020 · 3 comments
Closed

Port nightly build to github actions #9

lazka opened this issue Jun 30, 2020 · 3 comments

Comments

@lazka
Copy link
Member

lazka commented Jun 30, 2020

We currently use azure-pipelines to build the installer, then update assets for an existing tag on github. I haven't found a github action that allows updating an asset. The official one doesn't support it, see actions/upload-release-asset#13

If anyone has any ideas please tell me :)

@lazka
Copy link
Member Author

lazka commented Jul 19, 2020

@eine would https://github.com/eine/tip work here?

edit: ah, docker based, I guess not

@eine
Copy link

eine commented Jul 19, 2020

In fact, eine/tip is just a Python script which uses PyGithub to interact with GitHub's API. Hence, you can retrieve and execute it, ignoring Docker. You need to provide all the envvars, though: INPUT_FILES, GITHUB_TOKEN|INPUT_TOKEN, GITHUB_REPOSITORY...

The Action is a "Docker Action" because that's the only alternative provided by GitHub to write non-JS|TS Actions. The solution/workaround to update assets generated in Windows jobs, is to first upload them as artifacts. See, for example: https://github.com/ghdl/ghdl/blob/master/.github/workflows/push.yml#L104-L114.

Anyway, note eine/tip#157.

@lazka
Copy link
Member Author

lazka commented Aug 15, 2020

thanks! using eine/tip now

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

No branches or pull requests

2 participants