Skip to content

Commit

Permalink
Add release CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiethecat committed Nov 7, 2024
1 parent 1b0b9bd commit 3b88f23
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/build-svgo.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build SVGO
name: Build

on:
push:
Expand All @@ -15,11 +15,14 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "latest"
node-version: "18"
- run: npm install -g pkg
- run: npm install svgo
- run: pkg node_modules/svgo/bin/svgo -t latest-linux-x64 -o svgo
- uses: actions/upload-artifact@v3
- name: Create Release
uses: ncipollo/release-action@v1
with:
name: svgo
path: svgo
tag: v1
artifacts: svgo
token: ${{ secrets.PAT }}

0 comments on commit 3b88f23

Please sign in to comment.