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
1af4c1c741
Add sha1dir build
2021-10-09 01:09:44 +01:00