Skip to content

Commit

Permalink
Update ci actions (#140)
Browse files Browse the repository at this point in the history
* Actions updated to v4

* Changelog entry
  • Loading branch information
Razz4780 authored Aug 12, 2024
1 parent b75e753 commit 90bbbb8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
towncrier_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: install towncrier
Expand All @@ -31,7 +31,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 17
cache: "npm"
Expand All @@ -33,7 +33,7 @@ jobs:
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
run: vsce publish ${{ steps.version.outputs.version }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: vscode-ext
path: |
Expand All @@ -50,8 +50,8 @@ jobs:
deployments: write
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/download-artifact@v3
uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
path: /tmp/artifacts
- uses: montudor/action-zip@v1
Expand All @@ -72,7 +72,7 @@ jobs:
if: github.event_name != 'workflow_dispatch'
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Get complete history
fetch-depth: 0
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/reusable_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:
- name: checkout repository
if: ${{ !inputs.mirrord_release_branch }}
uses: actions/checkout@v3
uses: actions/checkout@v4

# mirrord_release_branch boolean when set, means we are on a release branch
# and hence we need to checkout into the last released tag of mirrord-vscode
- name: checkout into mirrord-vscode if mirrord_release_branch
if: ${{ inputs.mirrord_release_branch }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: "metalbear-co/mirrord-vscode"

Expand All @@ -57,7 +57,7 @@ jobs:
# mirrord-artifacts and add it to the path
- name: download mirrord binary
if: ${{ inputs.mirrord_release_branch }}
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: mirrord-artifacts
- name: add downloaded mirrord to path
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
- name: download image
if: ${{ inputs.mirrord_release_branch }}
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: test
path: /tmp
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
# the video starts at around ~2 minutes, before that you will see a black screen
- name: Upload video
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: video
path: out.webm
1 change: 1 addition & 0 deletions changelog.d/+updated-ci-actions.internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Updated CI actions to v4.

0 comments on commit 90bbbb8

Please sign in to comment.