From f19f474df7b80adb21a177a4241577b5e78575c3 Mon Sep 17 00:00:00 2001 From: kdusek Date: Sun, 7 Dec 2025 23:41:03 +0100 Subject: [PATCH] Change to v2 artifacts and Gitea token --- .github/workflows/release.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e65c310..0557010 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,7 +63,16 @@ jobs: - name: Check deb file run: ls -la dist/ - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v2 + with: + name: gotify-tray_${{github.ref_name}}_amd64.deb + path: dist/gotify-tray_${{github.ref_name}}_amd64.deb + release: + runs-on: ubuntu-latest + needs: [build-deb] + steps: + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v2 with: name: gotify-tray_${{github.ref_name}}_amd64.deb path: dist/gotify-tray_${{github.ref_name}}_amd64.deb @@ -73,13 +82,13 @@ jobs: needs: [build-deb] steps: - uses: actions/checkout@v4 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v2 with: name: gotify-tray_${{github.ref_name}}_amd64.deb - name: Release uses: marvinpinto/action-automatic-releases@latest with: - repo_token: "${{ secrets.GITHUB_TOKEN }}" + repo_token: "${{ secrets.GITEA_TOKEN }}" prerelease: false files: | gotify-tray_${{github.ref_name}}_amd64.deb