Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
chore: attempt 1
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Jun 7, 2024
1 parent 31fab09 commit 0094116
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/wails2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ jobs:
# nsis: false
# node-version: '20.x'

- name: Set up environment variables
if: runner.os == 'macOS'
run: |
echo "APPLE_USERNAME=${{ secrets.APPLE_USERNAME }}" >> $GITHUB_ENV
echo "APPLE_PASSWORD=${{ secrets.APPLE_PASSWORD }}" >> $GITHUB_ENV
echo "APPLE_TEAM_ID=${{ secrets.APPLE_TEAM_ID }}" >> $GITHUB_ENV
- name: Install dependencies
if: runner.os == 'Linux'
run: |
Expand Down Expand Up @@ -112,6 +119,10 @@ jobs:
run: |
echo "Signing Package"
gon -log-level=info ./build/darwin/gon-sign.json
env:
APPLE_USERNAME: ${{ secrets.APPLE_USERNAME }}
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}

- name: Copy DLLs to the output directory
if: runner.os == 'Windows'
Expand Down Expand Up @@ -184,6 +195,10 @@ jobs:
run: |
echo "Notarizing Zip Files"
gon -log-level=info -log-json ./build/darwin/gon-notarize.json
env:
APPLE_USERNAME: ${{ secrets.APPLE_USERNAME }}
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}

- uses: actions/upload-artifact@v4
if: runner.os == 'Linux'
Expand Down

0 comments on commit 0094116

Please sign in to comment.