mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 08:15:09 +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:
|
env:
|
||||||
SNAPCRAFT_TOKEN: ${{ secrets.SNAPCRAFT_TOKEN }}
|
SNAPCRAFT_TOKEN: ${{ secrets.SNAPCRAFT_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
echo "${{ env.SNAPCRAFT_TOKEN }}" >> snapcrafttoken.txt
|
echo $SNAPCRAFT_TOKEN >> snapcrafttoken.txt
|
||||||
snapcraft login --with snapcrafttoken.txt
|
snapcraft login --with snapcrafttoken.txt
|
||||||
RELEASE_TYPE=$(echo "${{ github.ref }}" | awk -F"/" '{print $3}')
|
RELEASE_TYPE=$(echo "${{ github.ref }}" | awk -F"/" '{print $3}')
|
||||||
if [ "$RELEASE_TYPE" = "rc" ]; then
|
if [ "$RELEASE_TYPE" = "rc" ]; then
|
||||||
|
|
Loading…
Reference in a new issue