From 6cc12ecaed7c00579c50022b5f043142f94df3b8 Mon Sep 17 00:00:00 2001 From: GnomeZworc Date: Tue, 16 Dec 2025 21:47:33 +0100 Subject: [PATCH] test with in workflow Signed-off-by: GnomeZworc --- .forgejo/workflows/build.yml | 50 +++---------------------------- .forgejo/workflows/release.yml | 55 ++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 46 deletions(-) create mode 100644 .forgejo/workflows/release.yml diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 7f4e4ff..1c98ec1 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -66,49 +66,7 @@ jobs: prerelease: runs-on: docker needs: [set-release-target, build] - env: - TOKEN: ${{ secrets.RELEASE }} - TAG: ${{ needs.set-release-target.outputs.release_cible }} - steps: - - name: Download all build artifacts - uses: actions/download-artifact@v3 - with: - path: dist/ - - name: Publier tous les binaires - run: ls -lR dist/ - - name: Install jq - run: | - apt-get update - apt-get install -y jq - - name: Create prerelease - run: | - curl -X POST \ - -H "Authorization: token $TOKEN" \ - -H "Content-Type: application/json" \ - "https://git.g3e.fr/api/v1/repos/${{ github.repository }}/releases" \ - -d @- <