mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 07:05:15 +00:00
ci: Fix deploy snap job
This commit is contained in:
parent
db144425db
commit
3448d4c12e
1 changed files with 1 additions and 3 deletions
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
|
@ -71,8 +71,6 @@ jobs:
|
|||
|
||||
promote_snapcraft:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
|
||||
steps:
|
||||
- name: Check out Git repository
|
||||
uses: actions/checkout@v3
|
||||
|
@ -84,7 +82,7 @@ jobs:
|
|||
env:
|
||||
SNAPCRAFT_TOKEN: ${{ secrets.SNAPCRAFT_TOKEN }}
|
||||
run: |
|
||||
echo "${{ SNAPCRAFT_TOKEN }}" >> snapcrafttoken.txt
|
||||
echo "${{ env.SNAPCRAFT_TOKEN }}" >> snapcrafttoken.txt
|
||||
snapcraft login --with snapcrafttoken.txt
|
||||
RELEASE_TYPE=$(echo "${{ github.ref }}" | awk -F"/" '{print $3}')
|
||||
if [ "$RELEASE_TYPE" = "rc" ]; then
|
||||
|
|
Loading…
Reference in a new issue