Improve the PR artifact structure

This commit is contained in:
TwistedUmbrellaX 2024-05-16 05:46:23 -04:00
parent ef789c63f7
commit 445607235b

View File

@ -52,11 +52,21 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4.3.3
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.3
if: github.event_name == 'pull_request'
with:
name: ConfusedPolarBear.Plugin.IntroSkipper-${{ github.head_ref }}.dll
path: ConfusedPolarBear.Plugin.IntroSkipper/bin/Debug/net6.0/ConfusedPolarBear.Plugin.IntroSkipper.dll
retention-days: 7
if-no-files-found: error
- name: Create archive
uses: vimtor/action-zip@v1.2
if: github.event_name != 'pull_request'