From be3bab479a377711fc888babdb8b607ab4168de4 Mon Sep 17 00:00:00 2001 From: Chase Eller Date: Sun, 22 Mar 2026 18:13:11 -0400 Subject: [PATCH] Update ciNew.yaml --- .github/workflows/ciNew.yaml | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ciNew.yaml b/.github/workflows/ciNew.yaml index 5e347a4..da3a763 100644 --- a/.github/workflows/ciNew.yaml +++ b/.github/workflows/ciNew.yaml @@ -3,49 +3,37 @@ name: Build & Release VS Code Extension on: push: tags: - - 'v*.*.*' # Trigger on version tags like v1.0.0 + - 'v*.*.*' jobs: release: runs-on: linux steps: - # 1. Checkout the repository - name: Checkout code - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4 - # 2. Set up Node.js - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '20' # Match your extension's Node.js requirement + node-version: '20' cache: 'npm' - # 3. Install dependencies - name: Install dependencies run: npm install - # 4. Install vsce (VS Code Extension CLI) - name: Install vsce run: npm install -g @vscode/vsce - # 5. Package the extension - name: Package Extension run: vsce package - # 6. Create GitHub Release - name: Create Release - id: create_release - uses: softprops/action-gh-release@v1 + uses: https://gitea.com/actions/gitea-release-action@v1 with: + token: ${{ secrets.releasekey }} tag_name: ${{ github.ref_name }} - env: - GITHUB_TOKEN: ${{ secrets.releasekey }} - - # 7. Upload VSIX to the release - - name: Upload VSIX - uses: softprops/action-gh-release@v1 - with: - files: '*.vsix' - env: - GITHUB_TOKEN: ${{ secrets.releasekey }} \ No newline at end of file + name: ${{ github.ref_name }} + files: | + *.vsix + server_url: https://git.cstmgames.dev \ No newline at end of file