Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Aug 12, 2023
1 parent 6f0c705 commit d11f0c6
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,21 @@ on:

jobs:

establish_artifacts:
runs-on: ubuntu-20.04
steps:
- id: execute
run: |
mkdir -p /tmp/debs
echo "" > /tmp/debs/test.txt
- name: Save artifacts
uses: actions/upload-artifact@v3
with:
name: debs
path: /tmp/debs/

generate-job-strategy-matrix:
needs: establish_artifacts
runs-on: ubuntu-20.04
outputs:
job-strategy-matrix: ${{ steps.generate.outputs.job-strategy-matrix }}
Expand All @@ -29,22 +43,8 @@ jobs:
JOB_STRATEGY_MATRIX=$(./.ci/get_build_matrix.sh unstable)
echo "::set-output name=job-strategy-matrix::$JOB_STRATEGY_MATRIX"
establish_artifacts:
needs: generate-job-strategy-matrix
runs-on: ubuntu-20.04
steps:
- id: execute
run: |
mkdir -p /tmp/debs
echo "" > /tmp/debs/test.txt
- name: Save artifacts
uses: actions/upload-artifact@v3
with:
name: debs
path: /tmp/debs/

job:
needs: establish_artifacts
needs: generate-job-strategy-matrix
runs-on: ubuntu-20.04
timeout-minutes: 360 # 6 hour timeout
strategy:
Expand Down

0 comments on commit d11f0c6

Please sign in to comment.