Skip to content

Commit

Permalink
Update GitHub action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
DZakh committed Jan 9, 2025
1 parent a78c10a commit 437a778
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
image: ocaml/opam:alpine-3.16-ocaml-4.12
options: --user root
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Opam init
run: opam init -a --disable-sandboxing --compiler=${{ matrix.ocaml-compiler }}
Expand All @@ -36,7 +36,7 @@ jobs:
run: opam exec -- dune build --profile static

- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ppx-build-linux
path: packages/rescript-schema-ppx/src/_build/default/bin/bin.exe
Expand All @@ -53,7 +53,7 @@ jobs:
ocaml-compiler:
- 4.12.1
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use OCaml ${{ matrix.ocaml-compiler}}
uses: ocaml/setup-ocaml@v2
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
ocaml-compiler:
- 4.12.1
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use OCaml ${{ matrix.ocaml-compiler}}
uses: ocaml/setup-ocaml@v2
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
ocaml-compiler:
- 4.12.1
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use OCaml ${{ matrix.ocaml-compiler}}
uses: ocaml/setup-ocaml@v2
Expand All @@ -140,7 +140,7 @@ jobs:
needs: [ppx-build-linux]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
Expand All @@ -149,7 +149,7 @@ jobs:
- run: pnpm install

- name: Download ppx linux artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ppx-build-linux
path: binaries/linux
Expand All @@ -175,7 +175,7 @@ jobs:
name: Pack rescript-schema
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
Expand All @@ -192,7 +192,7 @@ jobs:
- run: pnpm build

- name: "Upload artifact: rescript-schema npm package"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: rescript-schema
path: packages/artifacts
Expand All @@ -202,7 +202,7 @@ jobs:
needs: [ppx-build-linux, ppx-build-macos, ppx-build-macos-x64, ppx-build-windows]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
Expand All @@ -211,7 +211,7 @@ jobs:
- run: pnpm install

- name: Download ppx linux artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ppx-build-linux
path: binaries/linux
Expand Down Expand Up @@ -246,7 +246,7 @@ jobs:
working-directory: packages/rescript-schema-ppx

- name: "Upload artifact: rescript-schema-ppx npm package"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: rescript-schema-ppx
path: packages/rescript-schema-ppx/rescript-schema-ppx-9.0.0.tgz
Expand All @@ -256,7 +256,7 @@ jobs:
needs: [ppx-build-linux]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
Expand All @@ -265,7 +265,7 @@ jobs:
- run: pnpm install

- name: Download ppx linux artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ppx-build-linux
path: binaries/linux
Expand Down

0 comments on commit 437a778

Please sign in to comment.