From 12591486d1cf43c8dc223ad9a7785d586ec687d6 Mon Sep 17 00:00:00 2001 From: Vincent Payet Date: Thu, 15 Feb 2024 09:57:45 +0100 Subject: [PATCH] fix workflow --- .github/workflows/ubuntu.yml | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 60f1a716cf..570d347850 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -155,24 +155,6 @@ jobs: with: path: _build/*.deb - publish_assets: - name: Publish assets - needs: build - runs-on: ${{needs.build.outputs.os}} - steps: - - name: Download all artifacts - if: ${{ env.IS_RELEASE == 'true' }} - uses: actions/download-artifact@v3 - - - - name: Publish assets - if: ${{ env.IS_RELEASE == 'true' }} - uses: alexellis/upload-assets@0.4.0 - env: - GITHUB_TOKEN: ${{ github.token }} - with: - asset_paths: '["*/*.tar.gz", "*/*.deb"]' - # simtest - name: Read simtest version id: simtest-version @@ -245,3 +227,20 @@ jobs: batch-name: long-tests-3 os: ${{ matrix.test-platform }} + publish_assets: + name: Publish assets + needs: build + runs-on: ${{needs.build.outputs.os}} + steps: + - name: Download all artifacts + if: ${{ env.IS_RELEASE == 'true' }} + uses: actions/download-artifact@v3 + + + - name: Publish assets + if: ${{ env.IS_RELEASE == 'true' }} + uses: alexellis/upload-assets@0.4.0 + env: + GITHUB_TOKEN: ${{ github.token }} + with: + asset_paths: '["*/*.tar.gz", "*/*.deb"]'