diff --git a/.github/workflows/client-ci.yml b/.github/workflows/client-ci.yml index 79fbc19..ff1aca3 100644 --- a/.github/workflows/client-ci.yml +++ b/.github/workflows/client-ci.yml @@ -20,9 +20,9 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Set up Python for local environment - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: 3.8 - name: Install Node.js uses: actions/setup-node@v3 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7d5b1b8..e934dc8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Get version from tag id: get_version @@ -56,10 +56,10 @@ jobs: working-directory: server steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - - name: Set up Python 3.8 - uses: actions/setup-python@v2 + - name: Set up Python + uses: actions/setup-python@v4 with: python-version: 3.8 @@ -85,33 +85,33 @@ jobs: working-directory: client steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: - node-version: 12 + node-version: 16 - name: Clean install dependencies run: | npm ci - name: Update version in package.json - uses: onlyutkarsh/patch-files-action@v1.0.1 + uses: onlyutkarsh/patch-files-action@v1.0.5 with: files: "${{github.workspace}}/client/package.json" patch-syntax: | = /version => "${{needs.prepare_release.outputs.release_version}}" - name: Publish to Open VSX Registry - uses: HaaLeo/publish-vscode-extension@v0 + uses: HaaLeo/publish-vscode-extension@v1 id: publishToOpenVSX with: pat: ${{ secrets.OPEN_VSX_TOKEN }} packagePath: "./client/" - name: Publish to Visual Studio Marketplace - uses: HaaLeo/publish-vscode-extension@v0 + uses: HaaLeo/publish-vscode-extension@v1 with: pat: ${{ secrets.VS_MARKETPLACE_TOKEN }} registryUrl: https://marketplace.visualstudio.com @@ -119,7 +119,7 @@ jobs: packagePath: "" - name: Upload vsix as artifact - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: galaxy-tools-${{needs.prepare_release.outputs.release_version}}.vsix path: ${{ steps.publishToOpenVSX.outputs.vsixPath }} diff --git a/.github/workflows/server-ci.yml b/.github/workflows/server-ci.yml index 43e8e9d..023b347 100644 --- a/.github/workflows/server-ci.yml +++ b/.github/workflows/server-ci.yml @@ -20,11 +20,11 @@ jobs: working-directory: server steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: - python-version: "3.8" + python-version: 3.8 - name: Install dependencies run: | python -m pip install --upgrade pip