Bump libpkgx from 0.17.0 to 0.18.1 #109
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
workflow_call: | |
pull_request: | |
paths: | |
- action.ts | |
- action.yml | |
- package.json | |
concurrency: | |
group: ${{ github.ref || 'ci' }}/action.ts | |
cancel-in-progress: true | |
jobs: | |
dist: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: ./scripts/dist.sh | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: dist | |
path: dist | |
std: | |
needs: dist | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/download-artifact@v4 | |
with: | |
name: dist | |
path: dist | |
- uses: ./ | |
- run: pkgx --version | |
plus-pkgs: | |
needs: dist | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- [self-hosted, macOS, ARM64] # we need to be sure the action | |
- [self-hosted, linux, ARM64] # works in arm64 environments | |
prefix: | |
- null | |
- /opt | |
container: | |
- null | |
include: | |
- os: ubuntu-latest | |
container: debian:buster-slim | |
container: ${{ matrix.container }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/download-artifact@v4 | |
with: | |
name: dist | |
path: dist | |
- uses: ./ | |
with: | |
PKGX_DIR: ${{ matrix.prefix }} | |
+: node@18 deno.land | |
- run: test -f '${{ matrix.prefix }}/pkgx.sh/v*/bin/pkgx' | |
if: ${{ matrix.prefix }} | |
- run: pkgx --version | |
- run: node --eval 'console.log(1)' | |
- run: deno --version | |
multiple-apply-is-ok: | |
runs-on: ubuntu-latest | |
needs: dist | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/download-artifact@v4 | |
with: | |
name: dist | |
path: dist | |
- uses: ./ | |
- run: pkgx --version | |
- uses: ./ | |
- run: pkgx --version |