From f340c664365a631286d634426e169f661f4157ce Mon Sep 17 00:00:00 2001 From: paulober <44974737+paulober@users.noreply.github.com> Date: Sat, 1 Jun 2024 18:41:22 +0200 Subject: [PATCH] Update workflows Signed-off-by: paulober <44974737+paulober@users.noreply.github.com> --- .github/workflows/codeql-analysis.yml | 8 ++++---- .github/workflows/main.yml | 12 ++++++------ .github/workflows/publish.yml | 16 ++++++++-------- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 174bf79..2ba816e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -39,13 +39,13 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - run: sed -i '1i//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}' .npmrc # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -59,7 +59,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 - name: Install Dependencies for custom build shell: bash @@ -83,4 +83,4 @@ jobs: # ./location_of_script_within_repo/buildscript.sh - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a9f77ef..9d3541a 100755 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,18 +27,18 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup Node v18.15.x - uses: actions/setup-node@v3 + - name: Setup Node v18.18.x + uses: actions/setup-node@v4 with: - node-version: "18.15.x" + node-version: "18.18.x" registry-url: "https://npm.pkg.github.com" scope: "@paulober" token: ${{ secrets.GITHUB_TOKEN }} - - name: Setup Python v3.11 - uses: actions/setup-python@v4 + - name: Setup Python v3.12 + uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' - name: Install NPM Dependencies And Download Stubs shell: bash diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2d7692c..a28ffdd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,18 +17,18 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup Node v18.15.x - uses: actions/setup-node@v3 + - name: Setup Node v18.18.x + uses: actions/setup-node@v4 with: - node-version: '18.15.x' + node-version: '18.18.x' registry-url: "https://npm.pkg.github.com" scope: "@paulober" token: ${{ secrets.GITHUB_TOKEN }} - - name: Setup Python v3.11 - uses: actions/setup-python@v4 + - name: Setup Python v3.12 + uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' - name: Install NPM dependencies And Download Stubs shell: bash @@ -45,13 +45,13 @@ jobs: OVSX_PAT: ${{ secrets.OPEN_VSX_TOKEN }} - name: Upload Artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Visual Studio Code extension package path: pico-w-go-*.vsix - name: Upload Artifact To Release - #gh api --method POST -H "Accept: application/vnd.github+json" /repos/paulober/Pico-W-Go/releases/$RELEASE_ID/assets + #gh api --method POST -H "Accept: application/vnd.github+json" /repos/paulober/MicroPico/releases/$RELEASE_ID/assets run: gh release upload $RELEASE_TAG_NAME pico-w-go-*.vsix env: #RELEASE_ID: ${{ github.event.release.id }}