Skip to content

Commit

Permalink
Temporarily disable snap
Browse files Browse the repository at this point in the history
  • Loading branch information
vespakoen committed Apr 21, 2024
1 parent d0a201e commit 569ac27
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,36 +114,36 @@ jobs:
name: macos
path: build/bin/SolveSpace.dmg

deploy_snap_amd64:
needs: [test_ubuntu, test_windows, test_macos]
name: Deploy AMD64 Snap
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Fetch Tags
run: git fetch --force --tags
- name: Set Up Source
run: rsync --filter=":- .gitignore" -r ./ pkg/snap/solvespace-snap-src
- name: Build Snap
uses: snapcore/action-build@v1
id: build
with:
path: pkg/snap
- name: Upload & Release to Edge
if: github.event_name == 'push'
uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPSTORE_LOGIN }}
with:
snap: ${{ steps.build.outputs.snap }}
release: edge
- name: Upload & Release to Beta + Edge
if: github.event_name == 'release'
uses: snapcore/action-publish@v1
with:
store_login: ${{ secrets.SNAPSTORE_LOGIN }}
snap: ${{ steps.build.outputs.snap }}
release: edge,beta
# deploy_snap_amd64:
# needs: [test_ubuntu, test_windows, test_macos]
# name: Deploy AMD64 Snap
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Fetch Tags
# run: git fetch --force --tags
# - name: Set Up Source
# run: rsync --filter=":- .gitignore" -r ./ pkg/snap/solvespace-snap-src
# - name: Build Snap
# uses: snapcore/action-build@v1
# id: build
# with:
# path: pkg/snap
# - name: Upload & Release to Edge
# if: github.event_name == 'push'
# uses: snapcore/action-publish@v1
# env:
# SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPSTORE_LOGIN }}
# with:
# snap: ${{ steps.build.outputs.snap }}
# release: edge
# - name: Upload & Release to Beta + Edge
# if: github.event_name == 'release'
# uses: snapcore/action-publish@v1
# with:
# store_login: ${{ secrets.SNAPSTORE_LOGIN }}
# snap: ${{ steps.build.outputs.snap }}
# release: edge,beta

upload_release_assets:
name: Upload Release Assets
Expand Down

0 comments on commit 569ac27

Please sign in to comment.