Skip to content

Commit

Permalink
Merge pull request lencx#547 from lencx/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
lencx authored Mar 4, 2023
2 parents 0c0197f + 1f7e91d commit 3831337
Show file tree
Hide file tree
Showing 13 changed files with 188 additions and 196 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ jobs:
with:
key: ${{ matrix.target }}

- name: Install xattr (macos only)
if: matrix.os == 'macos-latest'
run: pip install xattr

- name: Install dependencies (ubuntu only)
if: matrix.os == 'ubuntu-latest'
run: |
Expand All @@ -77,6 +81,14 @@ jobs:
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}

- name: fix macos install
if: matrix.os == 'macos-latest'
run: |
tar -xzf ./target/${{ matrix.target }}/release/bundle/macos/ChatGPT.app.tar.gz
xattr -r -d com.apple.quarantine ChatGPT.app
rm -rf ./target/${{ matrix.target }}/release/bundle/macos/ChatGPT.app.tar.gz
tar -czf ./target/${{ matrix.target }}/release/bundle/macos/ChatGPT.app.tar.gz ChatGPT.app
- uses: actions/upload-artifact@v3
if: matrix.os == 'ubuntu-latest'
with:
Expand Down Expand Up @@ -106,6 +118,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install xattr
run: |
sudo apt-get update
sudo apt-get install -y xattr
- name: Query version number
run: echo "version=${GITHUB_REF:11}" >> $GITHUB_ENV

Expand Down
Loading

0 comments on commit 3831337

Please sign in to comment.