8000 we cannot upload all the artifacts since the job is being parallelized · arduino/arduino-cli@f0324ca · GitHub
[go: up one dir, main page]

Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f0324ca

Browse files
committed
we cannot upload all the artifacts since the job is being parallelized
1 parent 0bc8048 commit f0324ca

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/publish-go-nightly-task.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,14 +140,15 @@ jobs:
140140
-C "${{ env.PROJECT_NAME }}_osx_${{ matrix.artifact.name }}/" "${{ env.PROJECT_NAME }}" \
141141
-C ../../ LICENSE.txt
142142
CHECKSUM_LINE="$(shasum -a 256 $PACKAGE_FILENAME)"
143+
echo "PACKAGE_FILENAME=$PACKAGE_FILENAME" >> $GITHUB_ENV
143144
echo "::set-output name=checksum-${{ matrix.artifact.name }}::$CHECKSUM_LINE"
144145
145146
- name: Upload artifacts
146147
uses: actions/upload-artifact@v3
147148
with:
148149
if-no-files-found: error
149150
name: ${{ env.ARTIFACT_NAME }}
150-
path: ${{ env.DIST_DIR }}
151+
path: ${{ env.DIST_DIR }}/${PACKAGE_FILENAME}
151152

152153
publish-nightly:
153154
runs-on: ubuntu-latest

.github/workflows/release-go-task.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,14 +146,15 @@ jobs:
146146
-C "${{ env.PROJECT_NAME }}_osx_${{ matrix.artifact.name }}/" "${{ env.PROJECT_NAME }}" \
147147
-C ../../ LICENSE.txt
148148
CHECKSUM_LINE="$(shasum -a 256 $PACKAGE_FILENAME)"
149+
echo "PACKAGE_FILENAME=$PACKAGE_FILENAME" >> $GITHUB_ENV
149150
echo "::set-output name=checksum-${{ matrix.artifact.name }}::$CHECKSUM_LINE"
150151
151152
- name: Upload artifacts
152153
uses: actions/upload-artifact@v3
153154
with:
154155
if-no-files-found: error
155156
name: ${{ env.ARTIFACT_NAME }}
156-
path: ${{ env.DIST_DIR }}
157+
path: ${{ env.DIST_DIR }}/${PACKAGE_FILENAME}
157158

158159
create-release:
159160
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)
0