Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DartPower committed Feb 14, 2024
1 parent 98b0649 commit ec96383
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Build
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
# Snapcraft Token Valid till 10 March, 2023
push:
branches:
- main
Expand All @@ -22,11 +21,7 @@ jobs:
node-version: '16'
- name: Install Snapcraft
uses: samuelmeuli/[email protected]
with:
snapcraft_token: ${{ secrets.SNAPCRAFT_TOKEN }}
- name: Build it
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm install
sudo apt install flatpak flatpak-builder elfutils
Expand All @@ -52,19 +47,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Prepare for app signing and notarization
env:
API_KEY: ${{ secrets.api_key }}
if: ${{ env.API_KEY }}
run: |
echo "CSC_LINK=${{ secrets.mac_cert }}" >> $GITHUB_ENV
echo "CSC_KEY_PASSWORD=${{ secrets.mac_cert_password }}" >> $GITHUB_ENV
echo "APPLE_ID=${{ secrets.apple_id }}" >> $GITHUB_ENV
echo "APPLE_ID_PASSWORD=${{ secrets.apple_id_password }}" >> $GITHUB_ENV
echo "TEAM_ID=${{ secrets.team_id }}" >> $GITHUB_ENV
- name: Build it
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm install
npm install appdmg --save-dev
Expand All @@ -82,8 +65,6 @@ jobs:
with:
node-version: '16'
- name: Build it
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm install
npm run publish
Expand Down

0 comments on commit ec96383

Please sign in to comment.