mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 22:30:03 +00:00
Switch back to macos-latest (#1855)
macos-latest is now an alias of macos-14 M1 Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
c635ad6f95
commit
9f3bfa9ca3
4 changed files with 57 additions and 57 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -104,7 +104,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- target: aarch64-apple-darwin
|
- target: aarch64-apple-darwin
|
||||||
os: macos-14
|
os: macos-latest
|
||||||
- target: x86_64-unknown-linux-gnu
|
- target: x86_64-unknown-linux-gnu
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
- target: x86_64-pc-windows-msvc
|
- target: x86_64-pc-windows-msvc
|
||||||
|
@ -143,7 +143,7 @@ jobs:
|
||||||
- target: x86_64-unknown-linux-musl
|
- target: x86_64-unknown-linux-musl
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
- target: x86_64-apple-darwin
|
- target: x86_64-apple-darwin
|
||||||
os: macos-14
|
os: macos-latest
|
||||||
- target: aarch64-pc-windows-msvc
|
- target: aarch64-pc-windows-msvc
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
@ -173,7 +173,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- target: x86_64-apple-darwin
|
- target: x86_64-apple-darwin
|
||||||
os: macos-14
|
os: macos-latest
|
||||||
- target: x86_64-unknown-linux-gnu
|
- target: x86_64-unknown-linux-gnu
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
- target: x86_64-pc-windows-msvc
|
- target: x86_64-pc-windows-msvc
|
||||||
|
|
2
.github/workflows/gh-action.yml
vendored
2
.github/workflows/gh-action.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ macos-14, ubuntu-latest, windows-latest ]
|
os: [macos-latest, ubuntu-latest, windows-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
92
.github/workflows/install-script.yml
vendored
92
.github/workflows/install-script.yml
vendored
|
@ -29,30 +29,30 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-14, ubuntu-latest]
|
os: [macos-latest, ubuntu-latest]
|
||||||
set_cargo_home: [t, f]
|
set_cargo_home: [t, f]
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set `CARGO_HOME`
|
- name: Set `CARGO_HOME`
|
||||||
if: matrix.set_cargo_home == 't'
|
if: matrix.set_cargo_home == 't'
|
||||||
run: |
|
run: |
|
||||||
CARGO_HOME="$(mktemp -d 2>/dev/null || mktemp -d -t 'cargo-home')"
|
CARGO_HOME="$(mktemp -d 2>/dev/null || mktemp -d -t 'cargo-home')"
|
||||||
mkdir -p "${CARGO_HOME}/bin"
|
mkdir -p "${CARGO_HOME}/bin"
|
||||||
echo "CARGO_HOME=$CARGO_HOME" >> "$GITHUB_ENV"
|
echo "CARGO_HOME=$CARGO_HOME" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Install `cargo-binstall` using scripts
|
- name: Install `cargo-binstall` using scripts
|
||||||
run: ./install-from-binstall-release.sh
|
run: ./install-from-binstall-release.sh
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Verify `cargo-binstall` installation
|
- name: Verify `cargo-binstall` installation
|
||||||
run: |
|
run: |
|
||||||
which cargo-binstall
|
which cargo-binstall
|
||||||
cargo binstall -vV
|
cargo binstall -vV
|
||||||
|
|
||||||
windows:
|
windows:
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -63,23 +63,23 @@ jobs:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set `CARGO_HOME`
|
- name: Set `CARGO_HOME`
|
||||||
if: matrix.set_cargo_home == 't'
|
if: matrix.set_cargo_home == 't'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
CARGO_HOME="$(mktemp -d 2>/dev/null || mktemp -d -t 'cargo-home')"
|
CARGO_HOME="$(mktemp -d 2>/dev/null || mktemp -d -t 'cargo-home')"
|
||||||
mkdir -p "${CARGO_HOME}/bin"
|
mkdir -p "${CARGO_HOME}/bin"
|
||||||
echo "CARGO_HOME=$CARGO_HOME" >> "$GITHUB_ENV"
|
echo "CARGO_HOME=$CARGO_HOME" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Install `cargo-binstall` using scripts
|
- name: Install `cargo-binstall` using scripts
|
||||||
run: ./install-from-binstall-release.ps1
|
run: ./install-from-binstall-release.ps1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Verify `cargo-binstall` installation
|
- name: Verify `cargo-binstall` installation
|
||||||
run: cargo binstall -vV
|
run: cargo binstall -vV
|
||||||
|
|
||||||
windows-bash:
|
windows-bash:
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -90,22 +90,22 @@ jobs:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set `CARGO_HOME`
|
- name: Set `CARGO_HOME`
|
||||||
if: matrix.set_cargo_home == 't'
|
if: matrix.set_cargo_home == 't'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
CARGO_HOME="$(mktemp -d 2>/dev/null || mktemp -d -t 'cargo-home')"
|
CARGO_HOME="$(mktemp -d 2>/dev/null || mktemp -d -t 'cargo-home')"
|
||||||
mkdir -p "${CARGO_HOME}/bin"
|
mkdir -p "${CARGO_HOME}/bin"
|
||||||
echo "CARGO_HOME=$CARGO_HOME" >> "$GITHUB_ENV"
|
echo "CARGO_HOME=$CARGO_HOME" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Install `cargo-binstall` using scripts
|
- name: Install `cargo-binstall` using scripts
|
||||||
shell: bash
|
shell: bash
|
||||||
run: ./install-from-binstall-release.sh
|
run: ./install-from-binstall-release.sh
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Verify `cargo-binstall` installation
|
- name: Verify `cargo-binstall` installation
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cargo binstall -vV
|
run: cargo binstall -vV
|
||||||
|
|
8
.github/workflows/release-packages.yml
vendored
8
.github/workflows/release-packages.yml
vendored
|
@ -27,9 +27,9 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- { o: macos-14, t: x86_64-apple-darwin }
|
- { o: macos-latest, t: x86_64-apple-darwin }
|
||||||
- { o: macos-14, t: x86_64h-apple-darwin }
|
- { o: macos-latest, t: x86_64h-apple-darwin }
|
||||||
- { o: macos-14, t: aarch64-apple-darwin, r: true }
|
- { o: macos-latest, t: aarch64-apple-darwin, r: true }
|
||||||
- {
|
- {
|
||||||
o: ubuntu-latest,
|
o: ubuntu-latest,
|
||||||
t: x86_64-unknown-linux-gnu,
|
t: x86_64-unknown-linux-gnu,
|
||||||
|
@ -140,7 +140,7 @@ jobs:
|
||||||
name: universal-apple-darwin
|
name: universal-apple-darwin
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
runs-on: macos-14
|
runs-on: macos-latest
|
||||||
env:
|
env:
|
||||||
JUST_FOR_RELEASE: true
|
JUST_FOR_RELEASE: true
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue