mirror of
https://github.com/PaddiM8/kalker.git
synced 2024-12-13 01:50:41 +01:00
Update release.yml
This commit is contained in:
parent
a23aca8ad3
commit
1968a85384
38
.github/workflows/release.yml
vendored
38
.github/workflows/release.yml
vendored
@ -39,18 +39,12 @@ jobs:
|
||||
yarn install
|
||||
cd kalk
|
||||
wasm-pack build --scope paddim8 -- --no-default-features
|
||||
- name: Publish
|
||||
run: |
|
||||
sudo apt install expect
|
||||
/usr/bin/expect <<EOD
|
||||
spawn npm adduser
|
||||
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
|
||||
wasm-pack publish -a public
|
||||
cd ..
|
||||
- uses: JS-DevTools/npm-publish@v1
|
||||
with:
|
||||
token: ${{ secrets.NPM_TOKEN }}
|
||||
package: ./kalk/pkg/package.json
|
||||
access: public
|
||||
|
||||
publish_kalk_web:
|
||||
name: publish kalk_web
|
||||
@ -67,20 +61,12 @@ jobs:
|
||||
run: |
|
||||
cd web
|
||||
npm install
|
||||
- name: publish
|
||||
run: |
|
||||
cd web
|
||||
sudo apt install expect
|
||||
/usr/bin/expect <<EOD
|
||||
spawn npm adduser
|
||||
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
|
||||
|
||||
cd ..
|
||||
- uses: JS-DevTools/npm-publish@v1
|
||||
with:
|
||||
token: ${{ secrets.NPM_TOKEN }}
|
||||
package: ./web/package.json
|
||||
access: public
|
||||
|
||||
release_linux:
|
||||
name: release linux
|
||||
|
Loading…
Reference in New Issue
Block a user