From 56f33f95cbdf3239f362ce1083ddfce08a77467d Mon Sep 17 00:00:00 2001 From: jem Date: Wed, 8 Jul 2020 20:35:30 +0200 Subject: [PATCH] fix releasing --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7f6c0bc..e9ff827 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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/