File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 run : bun run build
2727
2828 - name : Lint
29- run : bunx eslint .
29+ run : bun run lint
30+
31+ - name : Test
32+ run : bun run test
Original file line number Diff line number Diff line change 11name : Release
22
33on :
4- release :
5- types : [published]
4+ push :
5+ tags :
6+ - ' *'
7+ workflow_dispatch :
68
79jobs :
8- build-and-attach :
10+ build-and-release :
911 runs-on : ubuntu-latest
12+ permissions :
13+ contents : write
1014
1115 steps :
1216 - name : Checkout repository
2428 run : bun run build
2529
2630 - name : Create artifact archive
27- run : tar -czvf release.tar.gz built/
31+ run : tar -czvf release-${{ github.ref_name }} .tar.gz built/
2832
29- - name : Upload release asset
33+ - name : Create GitHub release
3034 uses : softprops/action-gh-release@v2
3135 with :
32- files : release.tar.gz
36+ tag_name : ${{ github.ref_name }}
37+ name : ${{ github.ref_name }}
38+ generate_release_notes : true
39+ files : release-${{ github.ref_name }}.tar.gz
You can’t perform that action at this time.
0 commit comments