From 2e783dd3f32c939ff9723f02eeb1fce65b196e27 Mon Sep 17 00:00:00 2001 From: Kareem Farid Date: Mon, 29 Apr 2024 14:05:19 +0300 Subject: [PATCH] Rename artifact name --- .github/workflows/run_IP.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run_IP.yaml b/.github/workflows/run_IP.yaml index d9d4038..69d230e 100644 --- a/.github/workflows/run_IP.yaml +++ b/.github/workflows/run_IP.yaml @@ -50,11 +50,19 @@ jobs: if: ${{ inputs.is-ip }} run: | git clone https://github.com/efabless/EF_UVM.git ${{ env.EF_UVM_PATH }} + - name: Set Artifact Name + id: set_artifact_name + run: | + wrap_name () { + echo "❲$1❳" + } + artifact_name=$(wrap_name "ws")-$(wrap_name "${{ inputs.name }}") + echo "artifact_name=$artifact_name" >> GITHUB_OUTPUT - name: Upload Workspace uses: actions/upload-artifact@v4 with: path: ${{ env.MY_WORKSPACE }} - name: ${{ inputs.name }}-workspace + name: ${{ steps.set_artifact_name.outputs.artifact_name }} Prepare-Tests-Matrix: needs: ["Setup-Work-Space"]