parent
495987c06c
commit
d2caf2bf3e
2 changed files with 16 additions and 0 deletions
16
.forgejo/workflows/pipeline.yaml
Normal file
16
.forgejo/workflows/pipeline.yaml
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
upload:
|
||||||
|
runs-on: host
|
||||||
|
permissions:
|
||||||
|
packages: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/setup-node@v6
|
||||||
|
with:
|
||||||
|
node-version: 24
|
||||||
|
- uses: actions/checkout@v6
|
||||||
|
- run: ./gradlew buildFatJar
|
||||||
|
- run: |
|
||||||
|
curl -H "Authorization: token ${{ secrets.TOKEN }}" \
|
||||||
|
--upload-file build/libs/todo-all.jar \
|
||||||
|
"${{ github.server_url }}/api/packages/${{ github.repository_owner }}/generic/todo/${{ github.ref_name }}/app.jar"
|
||||||
0
gradlew
vendored
Normal file → Executable file
0
gradlew
vendored
Normal file → Executable file
Loading…
Add table
Add a link
Reference in a new issue