Skip to content

Commit 9a3f2b3

Browse files
committed
Updated releaser action
1 parent 64b90cd commit 9a3f2b3

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

.github/workflows/release.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,26 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [macos-latest, ubuntu-latest, windows-latest]
15-
steps:
16-
- name: Download Repository
15+
steps:
16+
- name: Checkout repository
1717
uses: actions/checkout@v4
18+
1819
- name: Install pnpm
1920
uses: pnpm/action-setup@v4
2021
with:
21-
version: 10
22-
- name: Install Modules
23-
run: pnpm install
24-
- name: Release
22+
version: 10
23+
24+
- name: Install dependencies
25+
run: pnpm install
26+
27+
- name: Install Snapcraft (Linux only)
28+
if: matrix.os == 'ubuntu-latest'
29+
run: |
30+
sudo apt update
31+
sudo apt install -y snapd
32+
sudo snap install snapcraft --classic
33+
34+
- name: Build & Publish Release
2535
run: pnpm run package
2636
env:
27-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)