From c149c3f46fba19fe04aebf0a58c6c9b4389b874d Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 24 Dec 2023 19:45:17 -0800 Subject: [PATCH] Update build.yml --- .../actions/publish-test-artifact/action.yml | 2 +- .github/workflows/build.yml | 29 +++++++++++++++++-- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/.github/actions/publish-test-artifact/action.yml b/.github/actions/publish-test-artifact/action.yml index 315ed9959..9a1e3709e 100644 --- a/.github/actions/publish-test-artifact/action.yml +++ b/.github/actions/publish-test-artifact/action.yml @@ -13,5 +13,5 @@ runs: steps: - uses: actions/upload-artifact@v4 with: - name: ${{ inputs.runtime }}-tests + name: tests-${{ inputs.runtime }} path: _tests/net6.0/${{ inputs.runtime }}/publish/**/* diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c1c06d7d6..092203c0d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ env: VERSION: 4.0.0 jobs: - build_backend: + backend: runs-on: windows-latest steps: - name: Check out @@ -75,7 +75,15 @@ jobs: name: distribution path: distribution/**/* - build_frontend: + # global.json Artifact + + - name: Publish Distribution Artifact + uses: actions/upload-artifact@v4 + with: + name: global_json + path: global.json + + frontend: runs-on: ubuntu-latest steps: - name: Check out @@ -101,3 +109,20 @@ jobs: with: name: ui path: _output/UI/**/* + + unit_test_linux: + needs: backend + runs-on: ubuntu-latest + steps: + - name: Download global.json + uses: actions/download-artifact@v4 + with: + name: global_json + + - name: Download Artifact + uses: actions/download-artifact@v4 + with: + name: tests-linux-x64 + + - name: Display structure of downloaded files + run: ls -R