File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,15 +27,17 @@ jobs:
2727 bun build-dist
2828 test -f dist/index.html
2929
30- - name : Embed version
30+ - name : Embed version and copy release asset
3131 run : |
3232 ver="${GITHUB_REF_NAME}"
3333 printf '\n<!-- version: %s commit: %s -->\n' "$ver" "$GITHUB_SHA" >> dist/index.html
34+ cp dist/index.html dist/iaslate.html
35+ test -f dist/iaslate.html
3436
3537 - name : Generate checksum
3638 run : |
3739 cd dist
38- sha256sum index .html | tee index .sha256
40+ sha256sum iaslate .html | tee iaslate .sha256
3941
4042 - name : Upload job artifact
4143 uses : actions/upload-artifact@v4
@@ -69,13 +71,13 @@ jobs:
6971 prerelease : ${{ contains(github.ref_name, 'beta') || contains(github.ref_name, 'rc') }}
7072 generate_release_notes : true
7173 files : |
72- dist/index .html
73- dist/index .sha256
74+ dist/iaslate .html
75+ dist/iaslate .sha256
7476
7577 - name : Attest build provenance
7678 uses : actions/attest-build-provenance@v3
7779 with :
78- subject-path : " dist/index .html"
80+ subject-path : " dist/iaslate .html"
7981
8082 deploy_pages :
8183 needs : build
You can’t perform that action at this time.
0 commit comments