mirror of
https://github.com/bitwarden/cli
synced 2025-12-06 04:23:19 +00:00
Fix deploy workflow (#228)
* fixing the snap package name and adding an npm install to the npm release * fixing the manual deploy parser
This commit is contained in:
7
.github/workflows/deploy.yml
vendored
7
.github/workflows/deploy.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
|||||||
- name: Create Deploy version vars
|
- name: Create Deploy version vars
|
||||||
id: create_tags
|
id: create_tags
|
||||||
run: |
|
run: |
|
||||||
if ! [[ "${{ github.event_name }}" -eq "release" ]]; then
|
if [ "${{ github.event_name }}" != "release" ]; then
|
||||||
case "${RELEASE_TAG_NAME_INPUT:0:1}" in
|
case "${RELEASE_TAG_NAME_INPUT:0:1}" in
|
||||||
v)
|
v)
|
||||||
echo "RELEASE_NAME=${RELEASE_TAG_NAME_INPUT:1}" >> $GITHUB_ENV
|
echo "RELEASE_NAME=${RELEASE_TAG_NAME_INPUT:1}" >> $GITHUB_ENV
|
||||||
@@ -137,6 +137,11 @@ jobs:
|
|||||||
"//registry.npmjs.org/:_authToken=${env:NPM_TOKEN}" | Out-File ".npmrc" -Encoding UTF8
|
"//registry.npmjs.org/:_authToken=${env:NPM_TOKEN}" | Out-File ".npmrc" -Encoding UTF8
|
||||||
env:
|
env:
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
||||||
|
- name: npm setup
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
npm run sub:init
|
||||||
|
|
||||||
- name: npm install
|
- name: npm install
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|||||||
Reference in New Issue
Block a user