Skip to content

Commit

Permalink
Update ocaml-install action to v3 (#687)
Browse files Browse the repository at this point in the history
* Update ocaml-install action to v3

* Update artifact action version
  • Loading branch information
na4zagin3 authored Dec 15, 2024
1 parent 67755f3 commit fc59785
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-comment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
submodules: true

- name: 'Download artifact'
uses: actions/github-script@v3.1.0
uses: actions/github-script@v7
with:
script: |
const artifacts = await github.actions.listWorkflowRunArtifacts({
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
done
- name: Update the PR body
uses: actions/github-script@v2
uses: actions/github-script@v7
env:
SNAPSHOT_UPDATABLE: ${{ steps.test-update-snapshot.outputs.result }}
PACKAGES_TO_UPDATE: ${{ steps.test-update-snapshot.outputs.packages }}
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,12 @@ jobs:
echo "::set-output name=opam-repo-default::$(echo "$DEFAULT_OPAM_REPO")"
- name: Setup OCaml ${{ matrix.ocaml-version }}
uses: ocaml/setup-ocaml@v2
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-version }}
dune-cache: true
cache-prefix: "snapshot-${{ matrix.snapshot }}"

opam-depext: false
opam-pin: false

opam-repositories: |
Expand Down Expand Up @@ -179,7 +178,7 @@ jobs:
exit 1
fi
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: "pr-snapshot-${{ matrix.snapshot }}-${{ matrix.ocaml-version }}-${{ matrix.os }}"
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/update-develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ jobs:
private_key: ${{ secrets.SG_REPO_GH_APP_PRIV_KEY }}

- name: Setup OCaml
uses: ocaml/setup-ocaml@v2
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 4.12
dune-cache: true

opam-depext: false
opam-pin: false

- name: Install OCaml dependencies
Expand Down

0 comments on commit fc59785

Please sign in to comment.