trying the folder location again

This commit is contained in:
Joseph Flinn 2021-01-28 19:35:39 +00:00
parent 11b9f25871
commit 6e6b6c8b59
1 changed files with 8 additions and 5 deletions

View File

@ -121,12 +121,16 @@ jobs:
# TAG_VERSION: ${{ needs.setup.outputs.tag_version }} # TAG_VERSION: ${{ needs.setup.outputs.tag_version }}
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: make dist dir
shell: pwsh
run: New-Item -ItemType directory -Path ./dist
- name: Test getting choco release asset - windows - name: Test getting choco release asset - windows
uses: Xotl/cool-github-releases@v1 uses: Xotl/cool-github-releases@v1
with: with:
mode: download mode: download
tag_name: ${{ env.TAG_VERSION }} tag_name: ${{ env.TAG_VERSION }}
assets: bitwarden-cli.${{ env.PKG_VERSION }}.nupkg assets: bitwarden-cli.${{ env.PKG_VERSION }}.nupkg|./dist/bitwarden-cli.${{ env.PKG_VERSION }}.nupkg
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
@ -135,14 +139,13 @@ jobs:
run: | run: |
# In place of ./scripts/choco-update.ps1 # In place of ./scripts/choco-update.ps1
New-Item -ItemType directory -Path ./dist #New-Item -ItemType directory -Path ./dist
ls #Move-Item -Path bitwarden-cli.${{ env.PKG_VERSION }}.nupkg -Destination ./dist/bitwarden-cli.${{ env.PKG_VERSION }}.nupkg
Move-Item -Path bitwarden-cli.${{ env.PKG_VERSION }}.nupkg -Destination ./dist/bitwarden-cli.${{ env.PKG_VERSION }}.nupkg
cd dist cd dist
#choco push #choco push
- name: test - name: test
run: ls -atlh dist run: ls dist
npm: npm: