Skip to content

Commit

Permalink
v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Nov 14, 2024
1 parent ff29af9 commit 6949168
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:

steps:
- name: Check out Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Snapcraft should not be installed
shell: bash
run: "! snapcraft --version"
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
steps:
- name: Check out Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: User should not be logged in
run: "! snapcraft whoami"
- name: Run action
Expand All @@ -57,7 +57,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run action
uses: ./
with:
Expand All @@ -76,7 +76,7 @@ jobs:
os: [ubuntu-latest, ubuntu-18.04]
steps:
- name: Check out Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- if: matrix.os == 'ubuntu-18.04'
name: lxd should not be available
run: "! /snap/bin/lxd waitready"
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ To use this action, add the following step to your workflow:

```yml
- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v2
uses: samuelmeuli/action-snapcraft@v3
```
A full example:
Expand All @@ -43,7 +43,7 @@ jobs:
uses: actions/checkout@v3

- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v2
uses: samuelmeuli/action-snapcraft@v3

# You can now run Snapcraft shell commands
- name: Use Snapcraft
Expand Down Expand Up @@ -79,7 +79,7 @@ Finally, add the following option to your workflow step:
```yml
- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v2
uses: samuelmeuli/action-snapcraft@v3
with:
skip_install: true # optional, if already installed in an earlier step
```
Expand All @@ -90,7 +90,7 @@ Using `runs-on: ubuntu-20.04` or later, LXD is availabe by default. If using `ru

```yml
- name: Install Snapcraft with LXD
uses: samuelmeuli/action-snapcraft@v2
uses: samuelmeuli/action-snapcraft@v3
with:
use_lxd: ${{ matrix.os == 'ubuntu-18.04' }}
- name: Build snap
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "action-snapcraft",
"version": "2.1.1",
"version": "3.0.0",
"description": "GitHub Action for setting up Snapcraft",
"author": {
"name": "Samuel Meuli",
Expand Down

0 comments on commit 6949168

Please sign in to comment.