.forgejo/workflows/debian.yml aktualisiert
This commit is contained in:
parent
0f3e436464
commit
a50bc46701
1 changed files with 20 additions and 1 deletions
|
|
@ -40,7 +40,26 @@ jobs:
|
||||||
- name: Create Deb package
|
- name: Create Deb package
|
||||||
run: |
|
run: |
|
||||||
dpkg-deb --build PKG_SOURCE timetracker_${{github.ref_name}}.deb
|
dpkg-deb --build PKG_SOURCE timetracker_${{github.ref_name}}.deb
|
||||||
|
- name: Create Release
|
||||||
|
id: create_release
|
||||||
|
uses: actions/create-release@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.test }}
|
||||||
|
with:
|
||||||
|
tag_name: ${{ github.ref }}
|
||||||
|
release_name: Release ${{ github.ref }}
|
||||||
|
draft: false
|
||||||
|
prerelease: false
|
||||||
|
- name: Upload Release Asset
|
||||||
|
id: upload-release-asset
|
||||||
|
uses: actions/upload-release-asset@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.test }}
|
||||||
|
with:
|
||||||
|
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
|
||||||
|
asset_path: timetracker_${{github.ref_name}}.deb
|
||||||
|
asset_name: timetracker_${{github.ref_name}}.deb
|
||||||
|
asset_content_type: application/zip
|
||||||
- name: Upload Artifact (für CI-Artefakt)
|
- name: Upload Artifact (für CI-Artefakt)
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue