Skip to content

Commit

Permalink
Update .github/workflows/promote.yaml
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea Ieri <[email protected]>
  • Loading branch information
rgildein and aieri authored May 6, 2024
1 parent 30d8ca7 commit 9b5d1c6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/promote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install yq
run: sudo snap install yq
- name: Snapcraft install
run: sudo snap install --classic snapcraft
- name: Get snap name
id: snap
run: echo "name=$(yq '.name' snap/snapcraft.yaml)" >> $GITHUB_OUTPUT
run: grep -Po '(?<=^name:)\s*\K\w+' snap/snapcraft.yaml >> $GITHUB_OUTPUT
- name: Snapcraft promote snap
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}
Expand Down

0 comments on commit 9b5d1c6

Please sign in to comment.