Skip to content

Commit f91ea3e

Browse files
committed
use simple script to upload artifacts to release
1 parent 6d69d57 commit f91ea3e

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/build-and-publish-deb.yml

+12-7
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,15 @@ jobs:
4141
path: ./debian-package/
4242

4343
- name: Upload Debian package as Release asset
44-
uses: ncipollo/release-action@v1
45-
with:
46-
token: ${{ secrets.GITHUB_TOKEN }}
47-
artifacts: debian-package/*.deb
48-
tag: ${{ github.ref_name }}
49-
name: "WebX Engine Debian Packages"
50-
body: "Automatically built and uploaded Debian packages for release ${{ github.ref_name }}."
44+
env:
45+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46+
run: |
47+
gh release upload ${{ github.ref_name }} debian-package/*.deb
48+
49+
# uses: ncipollo/release-action@v1
50+
# with:
51+
# token: ${{ secrets.GITHUB_TOKEN }}
52+
# artifacts: debian-package/*.deb
53+
# tag: ${{ github.ref_name }}
54+
# name: "WebX Engine Debian Packages"
55+
# body: "Automatically built and uploaded Debian packages for release ${{ github.ref_name }}."

0 commit comments

Comments
 (0)