Skip to content

Commit

Permalink
Improve the PR artifact structure
Browse files Browse the repository at this point in the history
  • Loading branch information
AbandonedCart committed May 17, 2024
1 parent 20df7eb commit f1972f5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,21 @@ jobs:

- name: Upload artifact
uses: actions/upload-artifact@v4.3.1
if: github.event_name != 'pull_request'
with:
name: ConfusedPolarBear.Plugin.IntroSkipper-${{ env.GIT_HASH }}.dll
path: ConfusedPolarBear.Plugin.IntroSkipper/bin/Debug/net6.0/ConfusedPolarBear.Plugin.IntroSkipper.dll
if-no-files-found: error

- name: Upload artifact
uses: actions/upload-artifact@v4.3.1
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'
Expand Down

0 comments on commit f1972f5

Please sign in to comment.