mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 12:25:11 +00:00
build: Disable snap release for now
This commit is contained in:
parent
73c38a52bc
commit
28c3dfa2bb
1 changed files with 18 additions and 17 deletions
35
.github/workflows/release.yaml
vendored
35
.github/workflows/release.yaml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue