mirror of
https://github.com/krille-chan/fluffychat
synced 2024-08-10 10:33:43 +00:00
ci: Fix snapcrafttoken handling in ci
This commit is contained in:
parent
b9eee23e58
commit
2f46181398
1 changed files with 1 additions and 1 deletions
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
|
@ -82,7 +82,7 @@ jobs:
|
|||
env:
|
||||
SNAPCRAFT_TOKEN: ${{ secrets.SNAPCRAFT_TOKEN }}
|
||||
run: |
|
||||
echo "${{ env.SNAPCRAFT_TOKEN }}" >> snapcrafttoken.txt
|
||||
echo $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