Skip to content

Commit

Permalink
ci: Fix deploy snap job
Browse files Browse the repository at this point in the history
  • Loading branch information
krille-chan committed Jul 25, 2023
1 parent db14442 commit 3448d4c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 3448d4c

Please sign in to comment.