diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 87d460c6..ce84579e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,7 +61,7 @@ jobs: if: ${{ startsWith(matrix.runtime, 'linux-') }} run: mv publish/SourceGit publish/sourcegit - name: Tar artifact - if: ${{ startsWith(matrix.runtime, 'linux-') }} + if: ${{ startsWith(matrix.runtime, 'linux-') || startsWith(matrix.runtime, 'osx-') }} run: | tar -cvf "sourcegit.${{ matrix.runtime }}.tar" -C publish . rm -r publish/* @@ -70,4 +70,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: sourcegit.${{ matrix.runtime }} - path: publish + path: publish/* diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 8c0c192d..0f6a8806 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -49,12 +49,15 @@ jobs: uses: actions/download-artifact@v4 with: name: sourcegit.${{ matrix.runtime }} - path: build/SourceGit + path: build - name: Package env: VERSION: ${{ inputs.version }} RUNTIME: ${{ matrix.runtime }} - run: ./build/scripts/package.osx-app.sh + run: | + mkdir build/SourceGit + tar -xf "build/sourcegit.${{ matrix.runtime }}.tar" -C build/SourceGit + ./build/scripts/package.osx-app.sh - name: Upload package artifact uses: actions/upload-artifact@v4 with: