From 29f79e8f84f962ee3dfa3aa8c4ee14fd2c73cd7a Mon Sep 17 00:00:00 2001 From: Kilian von Pflugk Date: Tue, 23 Jul 2024 21:35:42 +0200 Subject: [PATCH] add Upload artifacts back --- .github/workflows/build.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 888ab4a..c3d5072 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,6 +50,22 @@ jobs: - name: Build run: dotnet build --no-restore + - name: Upload artifact + uses: actions/upload-artifact@v4.3.4 + if: github.event_name != 'pull_request' + with: + name: ConfusedPolarBear.Plugin.IntroSkipper-${{ env.GIT_HASH }}.dll + path: ConfusedPolarBear.Plugin.IntroSkipper/bin/Debug/net8.0/ConfusedPolarBear.Plugin.IntroSkipper.dll + if-no-files-found: error + + - name: Upload artifact + uses: actions/upload-artifact@v4.3.4 + if: github.event_name == 'pull_request' + with: + name: ConfusedPolarBear.Plugin.IntroSkipper-${{ github.head_ref }}.dll + path: ConfusedPolarBear.Plugin.IntroSkipper/bin/Debug/net8.0/ConfusedPolarBear.Plugin.IntroSkipper.dll + retention-days: 7 + if-no-files-found: error - name: Create archive if: github.event_name != 'pull_request'