diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 412bde5..2089208 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -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 }} diff --git a/sample-project/snap/snapcraft.yaml b/sample-project/snap/snapcraft.yaml index 791ba85..6a54fa0 100644 --- a/sample-project/snap/snapcraft.yaml +++ b/sample-project/snap/snapcraft.yaml @@ -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: |