-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update release.yml to track BurntSushi/ripgrep's
- Loading branch information
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ on: | |
jobs: | ||
create-release: | ||
name: create-release | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
# env: | ||
# Set to force version number, e.g., when no tag exists. | ||
# RELEASE_VERSION: TEST-0.0.0 | ||
|
@@ -73,38 +73,38 @@ jobs: | |
build: [linux, linux-arm, macos, win-msvc, win-gnu, win32-msvc] | ||
include: | ||
- build: linux | ||
os: ubuntu-18.04 | ||
os: ubuntu-22.04 | ||
rust: stable | ||
target: x86_64-unknown-linux-musl | ||
- build: linux-arm | ||
os: ubuntu-18.04 | ||
os: ubuntu-22.04 | ||
rust: stable | ||
target: arm-unknown-linux-gnueabihf | ||
- build: macos | ||
os: macos-latest | ||
os: macos-12 | ||
rust: stable | ||
target: x86_64-apple-darwin | ||
- build: win-msvc | ||
os: windows-2019 | ||
os: windows-2022 | ||
rust: stable | ||
target: x86_64-pc-windows-msvc | ||
- build: win-gnu | ||
os: windows-2019 | ||
os: windows-2022 | ||
rust: stable-x86_64-gnu | ||
target: x86_64-pc-windows-gnu | ||
- build: win32-msvc | ||
os: windows-2019 | ||
os: windows-2022 | ||
rust: stable | ||
target: i686-pc-windows-msvc | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: ${{ matrix.rust }} | ||
profile: minimal | ||
|
@@ -149,7 +149,7 @@ jobs: | |
cp {README.md,LICENSE-APACHE,LICENSE-MIT} "$staging/" | ||
if [ "${{ matrix.os }}" = "windows-2019" ]; then | ||
if [ "${{ matrix.os }}" = "windows-2022" ]; then | ||
cp "target/${{ matrix.target }}/release/zet.exe" "$staging/" | ||
7z a "$staging.zip" "$staging" | ||
echo "ASSET=$staging.zip" >> $GITHUB_ENV | ||
|
@@ -161,7 +161,7 @@ jobs: | |
fi | ||
- name: Upload release archive | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
|