David Tolnay
c39c939203
Support a manual trigger on all workflows
2023-02-18 17:17:51 -08:00
David Tolnay
832510eac1
Revert "Move reusable workflow to repo root"
...
This reverts commit a1576aeee3
.
https://stackoverflow.com/questions/73026597/github-actions-suddenly-throwing-no-version-specified-for-reusable-workflows-t
"Reusable workflows" vs "local actions" use the same syntax but are
different mechanisms. :(
2023-01-22 15:04:33 -08:00
David Tolnay
a1576aeee3
Move reusable workflow to repo root
2023-01-22 15:00:56 -08:00
David Tolnay
faa2643bbe
Use build.yml workflow from local branch
...
https://github.blog/changelog/2022-01-25-github-actions-reusable-workflows-can-be-referenced-locally/
2022-07-01 11:00:25 -07:00
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
3f167e0ca8
Add cargo-expand build
2021-10-07 22:53:00 -04:00