Skip to content

Commit dd6c028

Browse files
committed
try fix 3
1 parent 349f0ef commit dd6c028

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,12 @@ jobs:
2828
with:
2929
arguments: build --no-daemon --scan
3030
dependency-graph: generate-and-submit
31-
- uses: initdc/upload-artifact@feat/artifact-per-file
31+
- name: Upload macOS Distributions
32+
uses: actions/upload-artifact@v4 # Changed action to official v4
3233
with:
33-
artifact-per-file: true
34-
# Replace hyphens in runner.os for the artifact name
35-
artifact-name-rule: ${{ runner.os_safe }}${ext} # Use a new variable for the sanitized name
36-
path: build/distributions/*
37-
- name: Sanitize runner.os for artifact name
38-
run: echo "runner_os_safe=$(echo ${{ runner.os }} | sed 's/-/_/g')" >> $GITHUB_ENV
34+
name: macOS-distributions # Give it a clear name
35+
path: build/distributions/* # This will upload all files in build/distributions as one artifact
36+
# It will be downloaded as a single zip file from the UI
3937
- name: Upload reports on failure
4038
if: ${{ failure() }}
4139
uses: actions/upload-artifact@v4
@@ -59,4 +57,4 @@ jobs:
5957
automatic_release_tag: "${{ env.VERSION }}"
6058
prerelease: false
6159
draft: true
62-
files: "**"
60+
files: "**" # This will include the 'macOS-distributions.zip' file downloaded by 'Get artifacts'

0 commit comments

Comments
 (0)