mirror of
https://github.com/DeterminateSystems/ci.git
synced 2025-06-18 07:13:19 +02:00
Standardize
This commit is contained in:
parent
555ade38c3
commit
43c9a92ae0
2 changed files with 10 additions and 10 deletions
.github/workflows
4
.github/workflows/validate.yml
vendored
4
.github/workflows/validate.yml
vendored
|
@ -21,7 +21,7 @@ jobs:
|
|||
DeterminateCI:
|
||||
uses: ./.github/workflows/workflow.yml
|
||||
permissions:
|
||||
id-token: "write"
|
||||
contents: "read"
|
||||
id-token: write
|
||||
contents: read
|
||||
with:
|
||||
directory: ./tests/smoke
|
||||
|
|
16
.github/workflows/workflow.yml
vendored
16
.github/workflows/workflow.yml
vendored
|
@ -88,8 +88,8 @@ jobs:
|
|||
systems: ${{ steps.inventory.outputs.systems }}
|
||||
|
||||
permissions:
|
||||
id-token: "write"
|
||||
contents: "read"
|
||||
id-token: write
|
||||
contents: read
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
@ -118,8 +118,8 @@ jobs:
|
|||
systems: ${{ fromJSON(needs.inventory.outputs.systems) }}
|
||||
|
||||
permissions:
|
||||
id-token: "write"
|
||||
contents: "read"
|
||||
id-token: write
|
||||
contents: read
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
@ -141,8 +141,8 @@ jobs:
|
|||
needs: build
|
||||
if: ${{ always() }}
|
||||
permissions:
|
||||
id-token: "write"
|
||||
contents: "read"
|
||||
id-token: write
|
||||
contents: read
|
||||
|
||||
outputs:
|
||||
flake_name: ${{ steps.publish.outputs.flake_name }}
|
||||
|
@ -150,7 +150,7 @@ jobs:
|
|||
flakeref_exact: ${{ steps.publish.outputs.flakeref_exact }}
|
||||
flakeref_at_least: ${{ steps.publish.outputs.flakeref_at_least }}
|
||||
steps:
|
||||
- run: "true"
|
||||
- run: true
|
||||
- run: |
|
||||
echo "A dependent in the build matrix failed."
|
||||
exit 1
|
||||
|
@ -163,7 +163,7 @@ jobs:
|
|||
if: ${{ !github.repository.fork && inputs.visibility != '' && (github.ref == format('refs/heads/{0}', inputs.default-branch) || startsWith(github.ref, 'refs/tags/')) }}
|
||||
- uses: DeterminateSystems/flakehub-cache-action@main
|
||||
if: ${{ !github.repository.fork && inputs.visibility != '' && (github.ref == format('refs/heads/{0}', inputs.default-branch) || startsWith(github.ref, 'refs/tags/')) }}
|
||||
- uses: "DeterminateSystems/flakehub-push@main"
|
||||
- uses: DeterminateSystems/flakehub-push@main
|
||||
if: ${{ !github.repository.fork && inputs.visibility != '' && (github.ref == format('refs/heads/{0}', inputs.default-branch) || startsWith(github.ref, 'refs/tags/')) }}
|
||||
id: publish
|
||||
with:
|
||||
|
|
Loading…
Add table
Reference in a new issue