Skip to content

Commit

Permalink
ci: update to new-style Snapcraft credentials in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jhenstridge committed Oct 27, 2023
1 parent ae0adca commit 9060b3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
unit: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
npm install
npm run all
Expand All @@ -19,13 +19,14 @@ jobs:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: snapcore/action-build@v1
id: build
with:
path: './sample-project'
- uses: ./
with:
store_login: ${{ secrets.STORE_LOGIN }}
snap: ${{ steps.build.outputs.snap }}
release: edge
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}
2 changes: 1 addition & 1 deletion sample-project/snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: test-jamesh-publish-action
base: core18
base: core22
version: '0.1'
summary: A snap used to test the Github publish action
description: |
Expand Down

0 comments on commit 9060b3f

Please sign in to comment.