Closed moioyoao closed 1 year ago
Added support for Haxelib cache when setting the path of a hxml file to cache-dependency-path.
cache-dependency-path
Example use:
jobs: build_haxe: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - run: echo '-lib hxnodejs' > lib.hxml # For checking operation # - uses: krdlab/setup-haxe@v1 - uses: moioyoao/setup-haxe@1aa14b4f09e049d4af130d6618616cc27f98daee with: haxe-version: 3.4.7 cache-dependency-path: lib.hxml - run: haxelib install lib.hxml --always
The results of the CI workflow in the forked repository are shown below:
When the cache is not found: https://github.com/moioyoao/setup-haxe/actions/runs/4643162101/jobs/8217616751#step:6:19
When the cache is found: https://github.com/moioyoao/setup-haxe/actions/runs/4643187567/jobs/8217657908#step:6:22
Added support for Haxelib cache when setting the path of a hxml file to
cache-dependency-path
.Example use:
The results of the CI workflow in the forked repository are shown below:
When the cache is not found: https://github.com/moioyoao/setup-haxe/actions/runs/4643162101/jobs/8217616751#step:6:19
When the cache is found: https://github.com/moioyoao/setup-haxe/actions/runs/4643187567/jobs/8217657908#step:6:22