Skip to content

Commit

Permalink
Update the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Oct 15, 2023
1 parent a2f2032 commit a74b7e7
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,39 +9,43 @@ jobs:
test:

runs-on: ubuntu-latest
continue-on-error: ${{ matrix.haxe-version == 'nightly' }}

strategy:
matrix:
haxe-version:
- stable
- nightly
target:
target:
- cpp
- cs
- interp
# - js
- jvm
# - lua
- neko
- node
- python
- cpp
- java -D jvm
- php
- python

steps:
- name: Check out repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- name: Cache Yarn
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Cache Haxe
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ${{ startsWith(runner.os, 'windows') && '%AppData%' || '~/haxe' }}
key: ${{ runner.os }}-haxe
Expand All @@ -65,22 +69,22 @@ jobs:

steps:
- name: Check out repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- name: Cache Yarn
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Cache Haxe
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ${{ startsWith(runner.os, 'windows') && '%AppData%' || '~/haxe' }}
key: ${{ runner.os }}-haxe
Expand Down

0 comments on commit a74b7e7

Please sign in to comment.