diff --git a/.gitea/workflows/build_and_puplish.yml b/.gitea/workflows/build_and_puplish.yml index 4830116..445c0d4 100644 --- a/.gitea/workflows/build_and_puplish.yml +++ b/.gitea/workflows/build_and_puplish.yml @@ -1,7 +1,7 @@ on: push: tags: - - '*' + - "*" jobs: build_and_publish: runs-on: ubuntu-latest @@ -10,8 +10,8 @@ jobs: uses: actions/checkout@v4 - name: GitHub Tag Name example run: | - echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME" - echo "Tag name from github.ref_name: ${{ github.ref_name }}" + echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME" + echo "Tag name from github.ref_name: ${{ github.ref_name }}" - name: Install NodeJS uses: actions/setup-node@v4 with: @@ -23,5 +23,6 @@ jobs: - name: Build Package Files run: npm run package - name: Publish to Visual Studio Marketplace - run: vsce publish ${{ secrets.VSCODE_MARKETPALCE }} - \ No newline at end of file + run: vsce publish ${{ github.ref_name }} + env: + VSCE_PAT: ${{ secrets.VSCODE_MARKETPALCE }}