Skip to content

Commit

Permalink
Update release.yml to track BurntSushi/ripgrep's
Browse files Browse the repository at this point in the history
  • Loading branch information
yarrow committed Nov 10, 2022
1 parent 672ebfe commit 8741855
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 8741855

Please sign in to comment.