Skip to content

Commit

Permalink
update action versions
Browse files Browse the repository at this point in the history
for nodejs 20
  • Loading branch information
samayala22 committed Feb 2, 2024
1 parent 1ab6263 commit de79b3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Install system dependencies (opengl)
- name: Install system dependencies
Expand All @@ -36,7 +36,7 @@ jobs:

# Install xmake
- name: Setup xmake
uses: xmake-io/github-action-setup-xmake@v1
uses: xmake-io/github-action-setup-xmake@v1.2
with:
xmake-version: latest
actions-cache-folder: .xmake-cache
Expand All @@ -52,7 +52,7 @@ jobs:

# Cache xmake dependencies
- name: Retrieve cached xmake dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
key: Linux-${{ matrix.compiler }}-${{ matrix.arch }}-${{ matrix.mode }}-${{ steps.dep_hash.outputs.hash }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Force xmake to a specific folder (for cache)
- name: Set xmake env
run: echo "XMAKE_GLOBALDIR=${{ runner.workspace }}/xmake-global" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append

# Install xmake
- name: Setup xmake
uses: xmake-io/github-action-setup-xmake@v1
uses: xmake-io/github-action-setup-xmake@v1.2
with:
xmake-version: latest
actions-cache-folder: .xmake-cache
Expand All @@ -47,7 +47,7 @@ jobs:

# Cache xmake dependencies
- name: Retrieve cached xmake dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.XMAKE_GLOBALDIR }}\.xmake\packages
key: Windows-${{ matrix.compiler }}-${{ matrix.arch }}-${{ matrix.mode }}-${{ steps.dep_hash.outputs.hash }}
Expand Down

0 comments on commit de79b3e

Please sign in to comment.