File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed
Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 1212 with :
1313 package_build_rules : |
1414 image:
15+ - "debian:bookworm"
1516 - "debian:trixie"
1617 target: x86_64
1718 deb_extra_build_packages : libcairo2-dev libpango1.0-dev
18-
19+ release :
20+ needs : package
21+ if : ${{ ! startsWith(github.ref, 'refs/tags/v') }}
22+ steps :
23+ - name : Install gh
24+ run : sudo apt install -y gh
25+ - name : Create dist directory
26+ run : mkdir -p $GITHUB_WORKSPACE/dist
27+ - name : Dowload artifacts
28+ uses : actions/download-artifact@v6
29+ with :
30+ path : $GITHUB_WORKSPACE/dist
31+ - name : Create release
32+ env :
33+ GITHUB_TOKEN : ${{ github.token }}
34+ tag : ${{ github.ref_name }}
35+ run : |
36+ gh release create "$tag" \
37+ --repo="$GITHUB_REPOSITORY" \
38+ --title="${GITHUB_REPOSITORY#*/} ${tag#v}" \
39+ --latest --verify-tag \
40+ $GITHUB_WORKSPACE/dist/*
41+
You can’t perform that action at this time.
0 commit comments