From 8e4694e8f434901a88c177192ff2e8125a09446a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6tz=20G=C3=B6risch?= Date: Thu, 20 Jul 2023 12:51:40 +0000 Subject: [PATCH] fix: Artefact --- .github/workflows/build.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0cf28d16..951a4090 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -163,4 +163,25 @@ jobs: docker compose up -d ./waitForContainer.sh python -m unittest discover test_mqtt_sampleserver + + release: + runs-on: ubuntu-22.04 + needs: [ build-linux , build-windows ] + if: github.ref != 'refs/heads/development' + steps: + - name: Download artifact + uses: dawidd6/action-download-artifact@v2.27.0 + with: + github_token: ${{secrets.GITHUB_TOKEN}} + workflow: build.yml + workflow_conclusion: success + repo: ${{ github.repository }} + if_no_artifact_found: fail + skip_unpack: true + - name: Check + run: echo ${{ github.sha }} > sha.txt + - name: Test + run: cat sha.txt | grep $GITHUB_SHA + - name: Display structure of downloaded files + run: ls -R \ No newline at end of file