parent
76aa3d1256
commit
23249c7263
|
@ -16,6 +16,10 @@ jobs:
|
||||||
# Needs to be explicitly specified for auth to work
|
# Needs to be explicitly specified for auth to work
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
- run: npm install
|
- run: npm install
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: npm
|
||||||
|
path: lib
|
||||||
- run: npm publish --access public
|
- run: npm publish --access public
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||||
|
@ -40,6 +44,10 @@ jobs:
|
||||||
echo $VERSION
|
echo $VERSION
|
||||||
sed -i "s/@VERSION@/$VERSION/g" snap/snapcraft.yaml
|
sed -i "s/@VERSION@/$VERSION/g" snap/snapcraft.yaml
|
||||||
- run: snapcraft
|
- run: snapcraft
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: snap
|
||||||
|
path: novnc*.snap
|
||||||
- run: |
|
- run: |
|
||||||
mkdir .snapcraft
|
mkdir .snapcraft
|
||||||
echo ${SNAPCRAFT_LOGIN} | base64 --decode --ignore-garbage > .snapcraft/snapcraft.cfg
|
echo ${SNAPCRAFT_LOGIN} | base64 --decode --ignore-garbage > .snapcraft/snapcraft.cfg
|
||||||
|
|
Loading…
Reference in New Issue