File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Generate source release tarball
2+ run-name : Generating source release tarball
3+ on :
4+ push :
5+ tags : # vX.Y.Z
6+ - ' v[0-9]+.[0-9]+.[0-9]+'
7+ workflow_dispatch :
8+ jobs :
9+ publish_tarball :
10+ permissions :
11+ contents : write
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Install dependencies
15+ run : |
16+ sudo apt-get update
17+ sudo apt-get install -y meson pkgconf libboost-log-dev libboost-thread-dev nlohmann-json3-dev
18+ - name : Check out repository code
19+ uses : actions/checkout@v4
20+ with :
21+ fetch-depth : 0 # Required for 'git describe' to work
22+ - name : Generate tarball
23+ run : |
24+ meson setup build
25+ meson dist --no-tests --include-subprojects -C build
26+ - name : Release tarball
27+ uses : softprops/action-gh-release@v1
28+ with :
29+ files : build/meson-dist/*.tar.xz
30+ - if : failure()
31+ run : cat build/meson-logs/meson-log.txt
You can’t perform that action at this time.
0 commit comments