Skip to content

Commit 32a4835

Browse files
committed
refactor release workflow to simplify artifact handling
1 parent ad29322 commit 32a4835

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,18 @@ jobs:
2828
2929
- name: Pack build
3030
run: |
31-
mkdir -p ../artifacts
31+
mkdir -p artifacts
32+
cd dist
3233
tar -czvf ../artifacts/dv-frontend.${GITHUB_REF_NAME}.tar.gz .
3334
3435
- name: Upload artifact
3536
uses: actions/upload-artifact@v4
3637
with:
3738
name: dv-frontend-${{ github.ref_name }}
38-
path: artifacts/dv-frontend.${{ github.ref_name}}.tar.gz
39+
path: artifacts/dv-frontend.${{ github.ref_name }}.tar.gz
3940

4041
release:
41-
needs: build
42+
needs: build # ждем сборки
4243
runs-on: ubuntu-latest
4344
steps:
4445
- name: Download artifact

0 commit comments

Comments
 (0)