Skip to content

Commit f1a2895

Browse files
authored
Update action.yml
1 parent c6eb55d commit f1a2895

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

action.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,24 @@ inputs:
1818
runs:
1919
using: "composite"
2020
steps:
21+
- name: Create Workspace
22+
shell: bash
23+
run: |
24+
GUID=$(uuidgen)
25+
UNIQUE_DIR="${RUNNER_TEMP}/${GUID}"
26+
mkdir -p "$UNIQUE_DIR"
27+
echo "Created: $UNIQUE_DIR"
28+
echo "build_workspace=$UNIQUE_DIR" >> "$GITHUB_OUTPUT"
29+
2130
- name: Download frontend build
2231
uses: actions/download-artifact@v4.3.0
2332
with:
2433
name: ${{ inputs.artifact }}
25-
path: ./build
34+
path: ${{ steps.tempdir.outputs.build_workspace }}
2635

2736
- name: Activate the frontend
2837
uses: CoreHelpers/upload-spa-to-azure-blob@v0.0.1
2938
with:
3039
connectionstring: ${{ inputs.connectionstring }}
3140
container: ${{ inputs.container }}
32-
source: ./build
41+
source: "${{ steps.tempdir.outputs.build_workspace }}/"

0 commit comments

Comments
 (0)