Skip to content

Commit c285c26

Browse files
authored
use a release not an artifact
1 parent 409a5a2 commit c285c26

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/build.yaml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,17 @@ jobs:
2222
- run: npm install
2323
- run: npm run build
2424

25-
- name: Upload artifacts
26-
uses: actions/upload-artifact@v4
25+
- name: Create Release
26+
id: create_release
27+
uses: actions/create-release@v1
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2730
with:
28-
name: production-files
29-
path: ./dist
31+
tag_name: ${{ github.ref }}
32+
release_name: Release ${{ github.ref }}
33+
34+
# - name: Upload artifacts
35+
# uses: actions/upload-artifact@v4
36+
# with:
37+
# name: production-files
38+
# path: ./dist

0 commit comments

Comments
 (0)