fixing the snap package name and adding an npm install to the npm release (#227)
This commit is contained in:
parent
116d7a4062
commit
7dbcdbdd2e
|
@ -72,7 +72,7 @@ jobs:
|
||||||
- name: setup
|
- name: setup
|
||||||
run: mkdir dist
|
run: mkdir dist
|
||||||
|
|
||||||
- name: Test getting choco release asset - windows
|
- name: Get snap release assets
|
||||||
uses: Xotl/cool-github-releases@v1
|
uses: Xotl/cool-github-releases@v1
|
||||||
with:
|
with:
|
||||||
mode: download
|
mode: download
|
||||||
|
@ -85,7 +85,7 @@ jobs:
|
||||||
|
|
||||||
- name: Publish Snap & logout
|
- name: Publish Snap & logout
|
||||||
run: |
|
run: |
|
||||||
snapcraft push ./dist/bw_${{ env.PACKAGE_VERSION }}_amd64.snap --release stable
|
snapcraft push ./dist/bw_${{ env.PKG_VERSION }}_amd64.snap --release stable
|
||||||
snapcraft logout
|
snapcraft logout
|
||||||
|
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ jobs:
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: New-Item -ItemType directory -Path ./dist
|
run: New-Item -ItemType directory -Path ./dist
|
||||||
|
|
||||||
- name: Test getting choco release asset - windows
|
- name: Get nupkg release asset
|
||||||
uses: Xotl/cool-github-releases@v1
|
uses: Xotl/cool-github-releases@v1
|
||||||
with:
|
with:
|
||||||
mode: download
|
mode: download
|
||||||
|
@ -138,5 +138,8 @@ jobs:
|
||||||
env:
|
env:
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
||||||
|
- name: npm install
|
||||||
|
run: npm install
|
||||||
|
|
||||||
- name: Publish NPM
|
- name: Publish NPM
|
||||||
run: npm run publish:npm
|
run: npm run publish:npm
|
||||||
|
|
Loading…
Reference in New Issue