fix: missing OSX app permissions

This commit is contained in:
Aikawa Yataro 2024-08-19 13:27:09 +00:00
parent 55d2657799
commit 8dafe176df
No known key found for this signature in database
GPG key ID: 1C5D95FB10179404
2 changed files with 7 additions and 4 deletions

View file

@ -61,7 +61,7 @@ jobs:
if: ${{ startsWith(matrix.runtime, 'linux-') }} if: ${{ startsWith(matrix.runtime, 'linux-') }}
run: mv publish/SourceGit publish/sourcegit run: mv publish/SourceGit publish/sourcegit
- name: Tar artifact - name: Tar artifact
if: ${{ startsWith(matrix.runtime, 'linux-') }} if: ${{ startsWith(matrix.runtime, 'linux-') || startsWith(matrix.runtime, 'osx-') }}
run: | run: |
tar -cvf "sourcegit.${{ matrix.runtime }}.tar" -C publish . tar -cvf "sourcegit.${{ matrix.runtime }}.tar" -C publish .
rm -r publish/* rm -r publish/*
@ -70,4 +70,4 @@ jobs:
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: sourcegit.${{ matrix.runtime }} name: sourcegit.${{ matrix.runtime }}
path: publish path: publish/*

View file

@ -49,12 +49,15 @@ jobs:
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
with: with:
name: sourcegit.${{ matrix.runtime }} name: sourcegit.${{ matrix.runtime }}
path: build/SourceGit path: build
- name: Package - name: Package
env: env:
VERSION: ${{ inputs.version }} VERSION: ${{ inputs.version }}
RUNTIME: ${{ matrix.runtime }} 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 - name: Upload package artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with: