forked from Job79/devcontainer
Go devc
All checks were successful
Build containers / changes (push) Successful in 3s
Build containers / base-image (push) Successful in 1m39s
Build containers / dependent-images (go) (push) Successful in 37s
Build containers / dependent-images (dotnet) (push) Successful in 2m19s
Build containers / dependent-images (rust) (push) Successful in 3m1s
All checks were successful
Build containers / changes (push) Successful in 3s
Build containers / base-image (push) Successful in 1m39s
Build containers / dependent-images (go) (push) Successful in 37s
Build containers / dependent-images (dotnet) (push) Successful in 2m19s
Build containers / dependent-images (rust) (push) Successful in 3m1s
This commit is contained in:
@@ -14,7 +14,7 @@ jobs:
|
||||
outputs:
|
||||
any_change: ${{ steps.filter.outputs.workflow == 'true' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'}}
|
||||
fedora: ${{ steps.filter.outputs.fedora == 'true' }}
|
||||
php: ${{ steps.filter.outputs.php == 'true' }}
|
||||
go: ${{ steps.filter.outputs.go == 'true' }}
|
||||
rust: ${{ steps.filter.outputs.rust == 'true' }}
|
||||
dotnet: ${{ steps.filter.outputs.dotnet == 'true' }}
|
||||
steps:
|
||||
@@ -25,7 +25,7 @@ jobs:
|
||||
filters: |
|
||||
workflow: ['.gitea/workflows/build.yaml']
|
||||
fedora: ['containers/fedora/**']
|
||||
php: ['containers/php/**']
|
||||
go: ['containers/go/**']
|
||||
rust: ['containers/rust/**']
|
||||
dotnet: ['containers/dotnet/**']
|
||||
|
||||
@@ -68,12 +68,12 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
container: [php, rust, dotnet]
|
||||
container: [rust, dotnet, go]
|
||||
steps:
|
||||
- name: Check if build needed
|
||||
id: check
|
||||
run: |
|
||||
if [[ "${{ matrix.container }}" == "php" && "${{ needs.changes.outputs.php }}" == "true" ]]; then echo "run=true" >> $GITHUB_OUTPUT; fi
|
||||
if [[ "${{ matrix.container }}" == "go" && "${{ needs.changes.outputs.go }}" == "true" ]]; then echo "run=true" >> $GITHUB_OUTPUT; fi
|
||||
if [[ "${{ matrix.container }}" == "rust" && "${{ needs.changes.outputs.rust }}" == "true" ]]; then echo "run=true" >> $GITHUB_OUTPUT; fi
|
||||
if [[ "${{ matrix.container }}" == "dotnet" && "${{ needs.changes.outputs.dotnet }}" == "true" ]]; then echo "run=true" >> $GITHUB_OUTPUT; fi
|
||||
if [[ "${{ needs.changes.outputs.any_change }}" == "true" ]]; then echo "run=true" >> $GITHUB_OUTPUT; fi
|
||||
|
||||
Reference in New Issue
Block a user