David Tolnay
1c670717fb
Use new 'secrets: inherit' feature
...
https://github.blog/changelog/2022-05-03-github-actions-simplify-using-secrets-with-reusable-workflows/
2022-07-01 10:48:31 -07:00
David Tolnay
2092cdac92
Enable 'contents: write' permission for all build jobs
...
Otherwise:
The workflow is not valid. .github/workflows/cargo-expand.yml (Line: 9, Col: 3):
Error calling workflow 'dtolnay/install/.github/workflows/build.yml@master'.
The nested job 'build' is requesting 'contents: write', but is only allowed 'contents: read'.
2022-06-20 03:16:52 -07:00
David Tolnay
c48d5eecf2
Kick rebuilds via branch instead of tag
...
Having some trouble getting GitHub Actions to run the "on: push: tags"
build after a tag is repointed to a new commit.
2021-10-09 01:34:43 +01:00
David Tolnay
9d028f5e08
Fix reusable workflow secrets syntax
2021-10-08 00:49:45 -04:00
David Tolnay
09c09539c2
Pass private key into the reusable workflow
2021-10-08 00:48:21 -04:00
David Tolnay
98a5d57fe8
Factor build steps into reusable workflow
2021-10-08 00:40:08 -04:00
David Tolnay
d9d571073c
Force rebuild even if GitHub image contains crate
2021-10-08 00:20:42 -04:00
David Tolnay
0c58fefddf
Add cxxbridge-cmd build
2021-10-07 22:52:29 -04:00