fix releasing
This commit is contained in:
parent
1466c3123f
commit
56f33f95cb
1 changed files with 5 additions and 5 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
@ -44,9 +44,9 @@ jobs:
|
|||
|
||||
- name: build em
|
||||
run: |
|
||||
shadow-cljs release lib
|
||||
sha256sum target/lib.js > target/dda-masto-embedd.js.sha256
|
||||
sha512sum target/lib.js > target/dda-masto-embedd.js.sha512
|
||||
shadow-cljs release frontend
|
||||
sha256sum public/main.js > target/dda-masto-embedd.js.sha256
|
||||
sha512sum public/main.js > target/dda-masto-embedd.js.sha512
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
|
@ -66,7 +66,7 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: target/lib.js
|
||||
asset_path: public/main.js
|
||||
asset_name: dda-masto-embed.js
|
||||
asset_content_type: application/json
|
||||
|
||||
|
@ -97,7 +97,7 @@ jobs:
|
|||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
run: |
|
||||
mkdir -p target/npm-build
|
||||
cp target/lib.js target/npm-build/
|
||||
cp public/main.js target/npm-build/dda-masto-embedd.js
|
||||
cp target/dda-masto-embedd.js.sha256 target/npm-build/
|
||||
cp target/dda-masto-embedd.js.sha512 target/npm-build/
|
||||
cp package.json target/npm-build/
|
||||
|
|
Loading…
Reference in a new issue