File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v2[0-9].[0-9][0-9].[0-9]*'
7+
8+ jobs :
9+ release :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : write
13+
14+ steps :
15+ - uses : actions/checkout@v4
16+
17+ - name : Extract version from tag
18+ id : version
19+ run : echo "VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_OUTPUT
20+
21+ - name : Generate checksum
22+ run : sha256sum ffc.h > ffc.h.sha256
23+
24+ - name : Create GitHub Release
25+ uses : softprops/action-gh-release@v2
26+ with :
27+ name : ${{ steps.version.outputs.VERSION }}
28+ body : |
29+ ## ${{ steps.version.outputs.VERSION }}
30+
31+ Drop `ffc.h` into your project and parse some floats or whatever
32+
33+ **Verify checksum:**
34+ ```
35+ sha256sum -c ffc.h.sha256
36+ ```
37+ files : |
38+ ffc.h
39+ ffc.h.sha256
40+ fail_on_unmatched_files : true
41+ generate_release_notes : true
42+ draft : true
You can’t perform that action at this time.
0 commit comments