From 885119dc478d3a4b4731adc447a561e3cbc9cb35 Mon Sep 17 00:00:00 2001 From: Administrator Date: Thu, 18 Dec 2025 10:19:45 +0200 Subject: [PATCH] yes --- .github/workflows/release.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7ce2f6a..166417f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,6 +30,12 @@ jobs: - name: Build Project run: dotnet build --configuration Release SpotifyHonorific/SpotifyHonorific.csproj -p:AssemblyVersion=${{ github.ref_name }} + - name: Create Release Asset + run: | + cd SpotifyHonorific/bin/Release + zip -r ../../../latest.zip . + cd ../../.. + - name: Create Release uses: actions/create-release@v1 id: create_release @@ -45,7 +51,7 @@ jobs: run: | curl \ -X POST \ - -H "Authorization: token ${{ gitea.token }}" \ + -H "Authorization: token ${{ github.token }}" \ -H "Content-Type: application/zip" \ - --data-binary @SpotifyHonorific/bin/Release/SpotifyHonorific/latest.zip \ + --data-binary @latest.zip \ "${{ steps.create_release.outputs.upload_url }}?name=latest.zip" \ No newline at end of file