Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows #63

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,21 @@ jobs:

- name: upload archives
# if: startsWith(github.ref, 'refs/tags/')
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: archives
name: archives-linux-${{ matrix.platform.target_arch }}
path: new_release/*

mac-build:
strategy:
fail-fast: false
matrix:
os:
- macos-13
config:
- { os: "macos-13", arch: "x86_64" }
- { os: "macos-14", arch: "arm64" }
ocaml-compiler:
- 4.14.x
runs-on: ${{ matrix.os }}
runs-on: ${{ matrix.config.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -101,7 +102,6 @@ jobs:
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
dune-cache: ${{ matrix.os != 'macos-latest' }}

- name: Install dependencies
run: opam install --deps-only --with-test --with-doc -y .
Expand All @@ -112,15 +112,15 @@ jobs:
mkdir -p new_release;
export OUTPUT=$PWD/new_release;
export TARGETOS=macos;
export TARGETARCH=x86_64;
export TARGETARCH=${{ matrix.config.arch }};
export VERSION=$GITHUB_REF_NAME;
opam exec -- bash release/release.sh

- name: upload archives
# if: startsWith(github.ref, 'refs/tags/')
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: archives
name: archives-${{ matrix.config.os }}-${{ matrix.config.arch }}
path: new_release/*

release:
Expand All @@ -132,10 +132,11 @@ jobs:
uses: actions/checkout@v3

- name: Download build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: archives
pattern: archives-*
path: archives
merge-multiple: true

- name: Release
uses: softprops/action-gh-release@v1
Expand Down
Loading