tweaking github action tokens
This commit is contained in:
parent
e566e7ffcb
commit
d42e7b6d27
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -164,7 +164,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Publish
|
- name: Publish
|
||||||
working-directory: ./finlib-wasm/pkg
|
working-directory: ./finlib-wasm/pkg
|
||||||
run: npm publish
|
run: npm publish --access=public
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
||||||
@ -186,7 +186,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cat <<EOF > ~/.cargo/credentials.toml
|
cat <<EOF > ~/.cargo/credentials.toml
|
||||||
[registry]
|
[registry]
|
||||||
token = "Bearer ${{ secrets.CRATES_TOKEN }}"
|
token = "${{ secrets.CRATES_TOKEN }}"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
- name: Cargo Publish
|
- name: Cargo Publish
|
||||||
|
Loading…
x
Reference in New Issue
Block a user