From cf96f0dc2c986a2818a936a835f5a8f5de6f9410 Mon Sep 17 00:00:00 2001 From: TheAssassin Date: Tue, 5 Mar 2024 02:54:58 +0100 Subject: [PATCH] Fix upload --- .github/workflows/github-build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-build.yml b/.github/workflows/github-build.yml index 02e8359d..4b9a0a43 100644 --- a/.github/workflows/github-build.yml +++ b/.github/workflows/github-build.yml @@ -48,14 +48,18 @@ jobs: - name: Build distribution run: | - bash distribute/distribute-docker.sh ${{ matrix.target }} + # we use a separate directory called output to "collect" all the build artifacts + # this makes uploading the artifacts a *lot* easier + mkdir output + pushd output + bash ../distribute/distribute-docker.sh ${{ matrix.target }} - name: Archive built files uses: actions/upload-artifact@v3 with: name: output binaries path: | - /app/output/** + output/* upload: name: Create release and upload artifacts