From e57138d5f6abff84a3cc0028d0fe968c4e96b301 Mon Sep 17 00:00:00 2001 From: Alexander Volz Date: Thu, 2 Nov 2023 23:01:55 +0100 Subject: [PATCH 1/2] test of ci --- .github/workflows/test_and_build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_and_build.yml b/.github/workflows/test_and_build.yml index 3cca21e9..cfc1d22d 100644 --- a/.github/workflows/test_and_build.yml +++ b/.github/workflows/test_and_build.yml @@ -125,7 +125,7 @@ jobs: with: files: | ./release.json - ./PugSharp_$PUGSHARPNETVER.zip + ./PugSharp_*.zip env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: pre Release @@ -135,7 +135,7 @@ jobs: prerelease: true files: | ./release.json - ./PugSharp_$PUGSHARPNETVER.zip + ./PugSharp_*.zip env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: upload pre - pre release @@ -144,5 +144,5 @@ jobs: name: latest_pre_pre path: | ./release.json - ./PugSharp_$PUGSHARPNETVER.zip + ./PugSharp_*.zip retention-days: 10 From 8b4c2f43cff4d4985f4f25330ad0993ca3771cfd Mon Sep 17 00:00:00 2001 From: Alexander Volz Date: Thu, 2 Nov 2023 23:07:00 +0100 Subject: [PATCH 2/2] test of ci --- .github/workflows/test_and_build.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_and_build.yml b/.github/workflows/test_and_build.yml index cfc1d22d..8f7e197e 100644 --- a/.github/workflows/test_and_build.yml +++ b/.github/workflows/test_and_build.yml @@ -108,7 +108,8 @@ jobs: - name: copy package content run: cp -rf PugSharp/bin/Debug/net7.0/publish/* packagebuild/addons/counterstrikesharp/plugins/PugSharp - name: build package - run: zip -r PugSharp_$PUGSHARPNETVER.zip packagebuild/addons + run: zip -r PugSharp_$PUGSHARPNETVER.zip addons + working-directory: ./packagebuild - name: ls run: ls -la - name: find @@ -125,7 +126,7 @@ jobs: with: files: | ./release.json - ./PugSharp_*.zip + ./packagebuild/PugSharp_*.zip env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: pre Release @@ -135,7 +136,7 @@ jobs: prerelease: true files: | ./release.json - ./PugSharp_*.zip + ./packagebuild/PugSharp_*.zip env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: upload pre - pre release @@ -144,5 +145,5 @@ jobs: name: latest_pre_pre path: | ./release.json - ./PugSharp_*.zip + ./packagebuild/PugSharp_*.zip retention-days: 10