mirror of
https://github.com/PaddiM8/kalker.git
synced 2024-12-13 10:00:51 +01:00
Update release.yml
This commit is contained in:
parent
139739b97e
commit
6f7baffcd1
38
.github/workflows/release.yml
vendored
38
.github/workflows/release.yml
vendored
@ -39,18 +39,12 @@ jobs:
|
|||||||
yarn install
|
yarn install
|
||||||
cd kalk
|
cd kalk
|
||||||
wasm-pack build --scope paddim8 -- --no-default-features
|
wasm-pack build --scope paddim8 -- --no-default-features
|
||||||
- name: Publish
|
cd ..
|
||||||
run: |
|
- uses: JS-DevTools/npm-publish@v1
|
||||||
sudo apt install expect
|
with:
|
||||||
/usr/bin/expect <<EOD
|
token: ${{ secrets.NPM_TOKEN }}
|
||||||
spawn npm adduser
|
package: ./kalk/pkg/package.json
|
||||||
expect {
|
access: public
|
||||||
"Username:" {send "paddim8\r"; exp_continue}
|
|
||||||
"Password:" {send "${{ secrets.NPM_PASSWORD }}\r"; exp_continue}
|
|
||||||
"Email: (this IS public)" {send "bakk@tuta.io\r"; exp_continue}
|
|
||||||
}
|
|
||||||
EOD
|
|
||||||
wasm-pack publish -a public
|
|
||||||
|
|
||||||
publish_kalk_web:
|
publish_kalk_web:
|
||||||
name: publish kalk_web
|
name: publish kalk_web
|
||||||
@ -67,20 +61,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd web
|
cd web
|
||||||
npm install
|
npm install
|
||||||
- name: publish
|
cd ..
|
||||||
run: |
|
- uses: JS-DevTools/npm-publish@v1
|
||||||
cd web
|
with:
|
||||||
sudo apt install expect
|
token: ${{ secrets.NPM_TOKEN }}
|
||||||
/usr/bin/expect <<EOD
|
package: ./web/package.json
|
||||||
spawn npm adduser
|
access: public
|
||||||
expect {
|
|
||||||
"Username:" {send "paddim8\r"; exp_continue}
|
|
||||||
"Password:" {send "${{ secrets.NPM_PASSWORD }}\r"; exp_continue}
|
|
||||||
"Email: (this IS public)" {send "bakk@tuta.io\r"; exp_continue}
|
|
||||||
}
|
|
||||||
EOD
|
|
||||||
npm publish
|
|
||||||
|
|
||||||
|
|
||||||
release_linux:
|
release_linux:
|
||||||
name: release linux
|
name: release linux
|
||||||
|
Loading…
Reference in New Issue
Block a user