From c0b3281dabb343103f70331a625c12f785ab022d Mon Sep 17 00:00:00 2001 From: pavel Date: Thu, 5 Feb 2026 23:10:00 +0100 Subject: [PATCH] pipeline --- .forgejo/workflows/pipeline.yaml | 14 ++++++++++++++ gradlew | 0 2 files changed, 14 insertions(+) create mode 100644 .forgejo/workflows/pipeline.yaml mode change 100644 => 100755 gradlew diff --git a/.forgejo/workflows/pipeline.yaml b/.forgejo/workflows/pipeline.yaml new file mode 100644 index 0000000..c7463ac --- /dev/null +++ b/.forgejo/workflows/pipeline.yaml @@ -0,0 +1,14 @@ +on: [push] +jobs: + upload: + runs-on: host + steps: + - uses: actions/setup-node@v6 + with: + node-version: 24 + - uses: actions/checkout@v6 + - run: ./gradlew buildFatJar + - run: | + curl --user "${{ github.actor }}:${{ secrets.TOKEN }}" \ + --upload-file build/libs/todo-all.jar \ + "${{ github.server_url }}/api/packages/${{ github.repository_owner }}/generic/todo/${{ github.ref_name }}/app.jar" \ No newline at end of file diff --git a/gradlew b/gradlew old mode 100644 new mode 100755