We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e30ed05 commit e58fb14Copy full SHA for e58fb14
.github/workflows/release.yml
@@ -0,0 +1,28 @@
1
+name: Build and release
2
+on:
3
+ push:
4
+ tags:
5
+ - 'v*.*.*'
6
+jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout
11
+ uses: actions/checkout@v4
12
+ - name: Use Node.js
13
+ uses: actions/setup-node@v4
14
+ with:
15
+ node-version: 'lts/*'
16
+ - run: yarn --frozen-lockfile
17
+ - run: npm install --global pkg
18
+ - name: Build
19
+ run: pkg index.js --output sesame-daemon --targets linux,macos,win
20
+ - name: Release
21
+ uses: softprops/action-gh-release@v1
22
23
+ files: |
24
+ sesame-daemon-linux
25
+ sesame-daemon-macos
26
+ sesame-daemon-win.exe
27
+ env:
28
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments