Skip to content

Commit

Permalink
Quick check for versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Discookie committed Jun 13, 2023
1 parent 91e72b3 commit 75ce550
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- name: Get the version
id: get_version
run: echo version=${GITHUB_REF#refs/tags/} >>$GITHUB_OUTPUT
run: echo version=${GITHUB_REF_NAME} >>$GITHUB_OUTPUT
outputs:
version: ${{ steps.get_version.outputs.version }}

Expand All @@ -22,7 +22,7 @@ jobs:
needs: [version]
uses: ./.github/workflows/package.yml
with:
version: ${{ needs.version.output.version }}
version: ${{ needs.version.outputs.version }}

build:
name: Create extension
Expand Down Expand Up @@ -52,10 +52,8 @@ jobs:
with:
name: ${{ matrix.registry }}-package

- name: Publish package
if: success()
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets[matrix.token] }}
registryUrl: ${{ matrix.registryUrl }}
extensionFile: ./${{ matrix.name }}-${{ needs.version.output.version }}.vsix
- name: Check version number
id: check_version
run: |
echo ${{ needs.version.outputs.version }}
ls -R

0 comments on commit 75ce550

Please sign in to comment.