Skip to content

Commit

Permalink
Update artifact name in URL search (smartcontractkit#14306)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofel authored Sep 2, 2024
1 parent 5cd0365 commit c0223e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/solidity-foundry-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
ARTIFACTS=$(gh api -X GET repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts)
ARTIFACT_ID=$(echo "$ARTIFACTS" | jq '.artifacts[] | select(.name=="review-artifacts-${{ inputs.product }}-${{ env.head_ref }}") | .id')
ARTIFACT_ID=$(echo "$ARTIFACTS" | jq '.artifacts[] | select(.name=="review-artifacts-${{ inputs.product }}-${{ inputs.base_ref }}-${{ env.head_ref }}") | .id')
echo "Artifact ID: $ARTIFACT_ID"
echo "# Solidity Review Artifact Generated" >> $GITHUB_STEP_SUMMARY
Expand Down Expand Up @@ -404,7 +404,7 @@ jobs:
HEAD_REF: ${{ env.head_ref }}
ARTIFACT_URL: ${{ steps.gather-all-artifacts.outputs.artifact-url }}

JIRA_HOST: ${{ vars.JIRA_HOST }}
JIRA_HOST: ${{ vars.JIRA_HOST }}
JIRA_USERNAME: ${{ secrets.JIRA_USERNAME }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}

Expand Down

0 comments on commit c0223e0

Please sign in to comment.