File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - ' **'
7+ tags :
8+ - ' [0-9]*'
79 pull_request :
810
11+ permissions :
12+ contents : read
13+
914concurrency :
1015 group : ${{ github.workflow }}-${{ github.ref }}
1116 cancel-in-progress : true
8590 name : debian-package
8691 path : dist/debian/*.deb
8792 if-no-files-found : error
93+
94+ release :
95+ name : Publish release
96+ if : ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
97+ needs :
98+ - build
99+ - meson
100+ - debian
101+ runs-on : ubuntu-latest
102+ permissions :
103+ contents : write
104+ steps :
105+ - name : Checkout
106+ uses : actions/checkout@v6
107+ with :
108+ fetch-depth : 0
109+
110+ - name : Download artifacts
111+ uses : actions/download-artifact@v8
112+ with :
113+ path : dist/artifacts
114+
115+ - name : Create GitHub release
116+ uses : softprops/action-gh-release@v3.0.0
117+ with :
118+ name : ${{ github.ref_name }}
119+ tag_name : ${{ github.ref_name }}
120+ draft : false
121+ prerelease : false
122+ generate_release_notes : true
123+ files : |
124+ dist/artifacts/debian-package/*.deb
You can’t perform that action at this time.
0 commit comments