From 8dafe176df3af6275276d8abcbcd5a40432d2427 Mon Sep 17 00:00:00 2001 From: Aikawa Yataro Date: Mon, 19 Aug 2024 13:27:09 +0000 Subject: [PATCH] fix: missing OSX app permissions --- .github/workflows/ci.yml | 4 ++-- .github/workflows/package.yml | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) 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: