Skip to content

Commit ad29322

Browse files
committed
refactor GitHub Actions workflow to store build artifacts in a dedicated directory
1 parent b6b616b commit ad29322

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ jobs:
2828
2929
- name: Pack build
3030
run: |
31-
cd dist
32-
tar -czvf dv-frontend.${GITHUB_REF_NAME}.tar.gz .
31+
mkdir -p ../artifacts
32+
tar -czvf ../artifacts/dv-frontend.${GITHUB_REF_NAME}.tar.gz .
3333
3434
- name: Upload artifact
3535
uses: actions/upload-artifact@v4
3636
with:
3737
name: dv-frontend-${{ github.ref_name }}
38-
path: dist/dv-frontend.${{ github.ref_name }}.tar.gz
38+
path: artifacts/dv-frontend.${{ github.ref_name}}.tar.gz
3939

4040
release:
4141
needs: build

0 commit comments

Comments
 (0)