Skip to content

Commit 60b2021

Browse files
committed
github action
1 parent d52cff3 commit 60b2021

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/build-debian.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build and Upload Debian Package
33
on:
44
push:
55
tags:
6-
- '*' # This will trigger the workflow for any tag that starts with 'v': e.g. git tag 1.1.0
6+
- '*' # This will trigger the workflow for any tag that starts with any character
77

88
jobs:
99
build:
@@ -40,7 +40,7 @@ jobs:
4040
id: create_release
4141
uses: actions/create-release@v1
4242
env:
43-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Use your secret name here
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4444
with:
4545
tag_name: ${{ github.ref_name }}
4646
release_name: "${{ github.ref_name }} Release"
@@ -53,7 +53,4 @@ jobs:
5353
env:
5454
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5555
with:
56-
upload_url: ${{ steps.create_release.outputs.upload_url }}
57-
asset_path: okadminfinder_${{ github.ref_name }}-1_all.deb
58-
asset_name: okadminfinder_${{ github.ref_name }}-1_all.deb
59-
asset_content_type: application/octet-stream
56+
upload_url: ${{ steps.create_release.outputs.upload_url

0 commit comments

Comments
 (0)