Skip to content

Commit e2418c1

Browse files
Update the workflow
1 parent 477bbf5 commit e2418c1

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/build.yaml

+9-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
# echo -e "echo postinst" > .debpkg/DEBIAN/postinst
2525
# chmod +x .debpkg/DEBIAN/postinst
2626
- uses: jiro4989/build-deb-action@v3
27+
id: build_deb
2728
with:
2829
package: ufw-applications
2930
package_root: package
@@ -32,4 +33,11 @@ jobs:
3233
arch: 'any'
3334
depends: 'ufw'
3435
desc: 'Extra UFW app profiles'
35-
homepage: ${{ github.server_url }}/${{ github.repository }}
36+
homepage: ${{ github.server_url }}/${{ github.repository }}
37+
- name: Release
38+
uses: softprops/action-gh-release@v2
39+
if: startsWith(github.ref, 'refs/tags/')
40+
with:
41+
files: ${{ steps.build_deb.outputs.file_name }}
42+
generate_release_notes: true
43+
make_latest: true

0 commit comments

Comments
 (0)