Skip to content

Commit

Permalink
build: Disable snap release for now
Browse files Browse the repository at this point in the history
  • Loading branch information
krille-chan committed Aug 9, 2023
1 parent 73c38a5 commit 28c3dfa
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,23 +145,24 @@ jobs:
deploy_snap:
runs-on: ubuntu-latest
if: false # Until snap is fixed
outputs:
snap-file: ${{ steps.build-snap.outputs.snap }}
steps:
- uses: actions/checkout@v3
- uses: snapcore/action-build@v1
id: build-snap
- name: Set release type
id: set-release
run: |
if [[ "${GITHUB_REF_NAME}" == rc* ]]; then
echo "::set-output name=release::candidate"
else
echo "::set-output name=release::stable"
fi
- uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
with:
snap: ${{ steps.build-snap.outputs.snap }}
release: ${{ steps.set-release.outputs.release }}
- uses: actions/checkout@v3
- uses: snapcore/action-build@v1
id: build-snap
- name: Set release type
id: set-release
run: |
if [[ "${GITHUB_REF_NAME}" == rc* ]]; then
echo "::set-output name=release::candidate"
else
echo "::set-output name=release::stable"
fi
- uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
with:
snap: ${{ steps.build-snap.outputs.snap }}
release: ${{ steps.set-release.outputs.release }}

0 comments on commit 28c3dfa

Please sign in to comment.