Skip to content

Commit

Permalink
Always run set artifact_name
Browse files Browse the repository at this point in the history
  • Loading branch information
kareefardi committed Apr 29, 2024
1 parent 2a60198 commit 8da4680
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/run_IP.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
wrap_name () {
echo "❲$1❳"
}
artifact_name=$(wrap_name "ws")-$(wrap_name "${{ inputs.name }}")
artifact_name=$(wrap_name "workspace")-$(wrap_name "${{ inputs.name }}")
echo "artifact_name=$artifact_name" >> $GITHUB_OUTPUT
- name: Upload Workspace
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -167,6 +167,7 @@ jobs:
working-directory: ${{ env.WORKING_DIRECTORY }}
run: tar -czf sim.tar.gz sim
- name: Set Artifact Name
if: always()
id: set_artifact_name
run: |
wrap_name () {
Expand Down

0 comments on commit 8da4680

Please sign in to comment.