From d11f0c6312f439b603f8afd0e9f1120fdc560833 Mon Sep 17 00:00:00 2001 From: Tomas Baca Date: Sat, 12 Aug 2023 10:28:57 +0200 Subject: [PATCH] fix --- .github/workflows/example.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index 58d080acc5..e52973eab7 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -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 }} @@ -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: