Skip to content

Commit

Permalink
Move snapcraft release
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbieTheWagner committed Jan 27, 2021
1 parent 1d462d2 commit 0311a14
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
if: matrix.os == 'ubuntu-latest' && startsWith(github.ref, 'refs/tags/')
uses: samuelmeuli/action-snapcraft@v1
with:
snapcraft_token: ${{ secrets.snapcraft_token }}
snapcraft_token: ${{ secrets.snapcraft_token }}
- name: Make
if: startsWith(github.ref, 'refs/tags/')
run: yarn make
Expand All @@ -86,6 +86,10 @@ jobs:
WINDOWS_PFX_PASSWORD: ${{ secrets.WINDOWS_PFX_PASSWORD }}
DEBUG: "forge-maker-snap:*"
SNAPCRAFT_BUILD_ENVIRONMENT: host
- name: Snapcraft release
if: matrix.os == 'ubuntu-latest' && startsWith(github.ref, 'refs/tags/')
run: snapcraft upload --release=stable electron-app/out/make/*.snap
timeout-minutes: 10
# - name: Make Apple arm64
# if: matrix.os == 'macos-11.0' && startsWith(github.ref, 'refs/tags/')
# run: yarn make --arch=arm64
Expand All @@ -104,10 +108,6 @@ jobs:
electron-app/out/**/*Setup.exe
electron-app/out/**/*.rpm
electron-app/out/**/*.zip
- name: Snapcraft release
if: matrix.os == 'ubuntu-latest' && startsWith(github.ref, 'refs/tags/')
run: sudo snapcraft upload --release=stable electron-app/out/make/*.snap
timeout-minutes: 10
- name: Create a Sentry.io release
uses: tclindner/sentry-releases-action@v1.2.0
if: matrix.os == 'ubuntu-latest'
Expand Down

0 comments on commit 0311a14

Please sign in to comment.