.forgejo/workflows/debian.yml aktualisiert
This commit is contained in:
parent
1a2ef19c59
commit
75e1d5f03a
1 changed files with 12 additions and 1 deletions
|
|
@ -40,11 +40,22 @@ jobs:
|
|||
- name: Create Deb package
|
||||
run: |
|
||||
dpkg-deb --build PKG_SOURCE timetracker_${{github.ref_name}}.deb
|
||||
|
||||
- name: Upload Artifact (für CI-Artefakt)
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: timetracker_${{github.ref_name}}.deb
|
||||
path: timetracker_${{github.ref_name}}.deb
|
||||
retention-days: 5
|
||||
retention-days: 5
|
||||
token: ${{ secrets.test }}
|
||||
|
||||
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||
- name: Upload Package
|
||||
run: |
|
||||
FILE="timetracker_${{github.ref_name}}.deb"
|
||||
ORG="Ronny.Friedland"
|
||||
REPO="timetracker"
|
||||
VERSION=${{github.ref_name}}
|
||||
curl --user ${{ secrets.USER }}:${{ secrets.TOKEN }} \
|
||||
--upload-file $FILE \
|
||||
"https://${{ env.FORGEJO_BASE_URL }}/api/packages/${ORG}/generic/${REPO}/${VERSION}/${FILE}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue