Skip to content

Commit

Permalink
Update GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
SchoofsKelvin committed Feb 8, 2025
1 parent dbaa675 commit 5c1a874
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,36 +20,36 @@ on:

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
name: Build and package
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Event Utilities
uses: SchoofsKelvin/[email protected]
id: utils
with:
artifact_prefix: "vscode-sshfs"
artifact_extension: "vsix"
- name: Use Node.js 18
uses: actions/setup-node@v3
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: yarn
cache-dependency-path: yarn.lock
- name: Install dependencies
run: yarn --immutable
- name: Build extension
run: yarn vsce package -o ${{ steps.utils.outputs.artifact_name }} --yarn --no-dependencies
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ steps.utils.outputs.artifact_name }}
path: ${{ steps.utils.outputs.artifact_name }}
if-no-files-found: error
- name: Create release with artifact
if: ${{ success() && steps.utils.outputs.tag_version }}
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
name: Release ${{ steps.utils.outputs.tag_version }}
draft: true
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
- React dependencies are unchanged, `@types/react-*` need to remain unchanged to prevent compilation errors
- A security fix in [email protected] required a code change otherwise no PuTTY sessions would be found
- Update engine requirements to NodeJS 20 and VS Code 1.90.1
- Update GitHub workflows as they were failing due to still using outdated versions of certain actions
- Also updated the runner and NodeJS version used

## v1.26.1 (2023-04-16)

Expand Down

0 comments on commit 5c1a874

Please sign in to comment.