mirror of
https://github.com/RubyMetric/chsrc
synced 2025-06-19 02:08:59 +08:00
parent
40ef2ae201
commit
e2b6bb9233
12
.github/workflows/pkg-DEB.yml
vendored
12
.github/workflows/pkg-DEB.yml
vendored
@ -135,15 +135,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload to Releases (the newest release) if is release event
|
- name: Upload to Releases (the newest release) if is release event
|
||||||
if: github.event_name == 'release'
|
if: github.event_name == 'release'
|
||||||
uses: actions/upload-release-asset@v1
|
uses: softprops/action-gh-release@v2
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.UPLOAD_TO_GITHUB }}
|
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ github.event.release.upload_url }}
|
files: |
|
||||||
asset_path: dist/chsrc_${{ steps.get_version.outputs.version }}-1_amd64.deb
|
dist/chsrc_*_amd64.deb
|
||||||
asset_name: chsrc_${{ steps.get_version.outputs.version }}-1_amd64.deb
|
token: ${{ secrets.UPLOAD_TO_GITHUB }}
|
||||||
asset_content_type: application/vnd.debian.binary-package
|
|
||||||
|
|
||||||
|
|
||||||
- name: Upload to Releases (the 'pre' release) if is push event
|
- name: Upload to Releases (the 'pre' release) if is push event
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user