Skip to content

Commit 3dff531

Browse files
authored
Merge pull request #75 from Open-STEM/kq-release
refactor artifact release
2 parents 8170200 + 9e95d28 commit 3dff531

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ jobs:
2626
run: npm run test
2727
- name: Build
2828
run: npm run build
29-
- name: Archive site content
29+
- name: Archive build content
30+
id: build-archive
3031
uses: thedoctor0/zip-release@master
3132
with:
3233
type: 'zip'
@@ -36,15 +37,7 @@ jobs:
3637
id: create_new_release
3738
uses: softprops/[email protected]
3839
with:
39-
tag_name: ${{ github.ref_name }}
40-
name: Release ${{ github.ref_name }}
40+
files: |
41+
steps.build-archive.outputs.xrpweb-v${{ github.run_number }}.zip
4142
env:
4243
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43-
- name: Upload Build artifacts
44-
uses: svenstaro/upload-release-action@v2
45-
with:
46-
repo_token: ${{ secrets.GITHUB_TOKEN }}
47-
file: xrpweb-v${{ github.run_number }}.zip
48-
asset_name: xrpweb
49-
tag: ${{ github.ref }}
50-
overwrite: true

0 commit comments

Comments
 (0)