Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
V-Paranoiaque committed Mar 26, 2023
1 parent addf247 commit c0ae961
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 37 deletions.
66 changes: 33 additions & 33 deletions .github/workflows/cordova-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.node }}

- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-
- name: Cache www directory
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/work/Ellas-War/Ellas-War/www
key: www-${{ runner.GITHUB_RUN_ID }}
Expand Down Expand Up @@ -72,27 +72,27 @@ jobs:
needs: prepare

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.node }}

- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-
- name: Cache www directory
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/work/Ellas-War/Ellas-War/www
key: www-${{ runner.GITHUB_RUN_ID }}

- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v1
uses: samuelmeuli/action-snapcraft@v2

- name: Install dependencies
run: |
Expand Down Expand Up @@ -143,21 +143,21 @@ jobs:
needs: prepare

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.node }}

- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-
- name: Cache www directory
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/work/Ellas-War/Ellas-War/www
key: www-${{ runner.GITHUB_RUN_ID }}
Expand All @@ -183,27 +183,27 @@ jobs:
needs: prepare

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.node }}

- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-
- name: Cache www directory
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/work/Ellas-War/Ellas-War/www
key: www-${{ runner.GITHUB_RUN_ID }}

- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v1
uses: samuelmeuli/action-snapcraft@v2

- name: Install dependencies
run: |
Expand All @@ -230,27 +230,27 @@ jobs:
needs: prepare

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.node }}

- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-
- name: Cache www directory
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/work/Ellas-War/Ellas-War/www
key: www-${{ runner.GITHUB_RUN_ID }}

- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v1
uses: samuelmeuli/action-snapcraft@v2

- name: Install dependencies
run: |
Expand Down Expand Up @@ -283,8 +283,8 @@ jobs:
needs: prepare

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.node }}
- name: Set up JDK
Expand All @@ -295,15 +295,15 @@ jobs:
uses: android-actions/setup-android@v2

- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-
- name: Cache www directory
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/work/Ellas-War/Ellas-War/www
key: www-${{ runner.GITHUB_RUN_ID }}
Expand Down Expand Up @@ -380,8 +380,8 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.node }}

Expand All @@ -391,7 +391,7 @@ jobs:
echo "::set-output name=dir::$(npm config get cache)"
- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -435,13 +435,13 @@ jobs:
runs-on: macos-11

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.node }}

- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.node }}

- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -34,7 +34,7 @@ jobs:
npm run mbuild
- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v1
uses: samuelmeuli/action-snapcraft@v2

- name: Install dependencies
run: |
Expand Down

0 comments on commit c0ae961

Please sign in to comment.