Skip to content

Commit

Permalink
Update artifact actions to v4, Use unique name for each artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
2shady4u committed Aug 12, 2024
1 parent f00cf2b commit 66d406d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 🌈 All Builds
on:
push:
branches: [ master ]
branches: [ master, feature/update-artifact-actions ]
tags:
- "v*"

Expand Down Expand Up @@ -102,9 +102,9 @@ jobs:
- name: Upload Artifact
env:
ARTIFACT_FOLDER: ${{ env.PROJECT_FOLDER }}/${{ env.TARGET_PATH }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.platform }}
name: ${{ matrix.cache-name }}-${{ matrix.target }}
path: ${{ env.ARTIFACT_FOLDER }}*.${{ matrix.artifact-extension }}
if-no-files-found: error

Expand All @@ -123,7 +123,7 @@ jobs:

- name: Download Artifacts
id: download
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: artifacts

Expand Down

0 comments on commit 66d406d

Please sign in to comment.