Skip to content

Commit 6dd2574

Browse files
authored
Update action.yml
1 parent ec84da2 commit 6dd2574

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,8 @@ runs:
324324
echo "ARTIFACT_URL=$(echo "$OUTPUT" | jq -r '.url')" >> $GITHUB_ENV
325325
shell: bash
326326

327+
# For ad-hoc builds, the ARTIFACT_NAME may contain PR-number, while Rock will save the artifact without PR trait in its cache.
328+
# We need to upload the artifact with the PR-number in the name, that's why we use --binary-path with appropriate ARTIFACT_PATH that accounts for it.
327329
- name: Upload for Ad-hoc distribution
328330
if: ${{ env.PROVIDER_NAME != 'GitHub' && inputs.ad-hoc == 'true' }}
329331
run: |

0 commit comments

Comments
 (0)