Skip to content

Commit

Permalink
Merge pull request #109 from acheronfail/ci/0.16.0
Browse files Browse the repository at this point in the history
ci: fixup windows build
  • Loading branch information
acheronfail authored Feb 12, 2025
2 parents 3e5cf42 + fae1266 commit 50d6376
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
# Emit backtraces on panics.
RUST_BACKTRACE: 1
strategy:
fail-fast: false
matrix:
build: [linux-gnu, linux-musl, linux-arm-gnueabihf, macos, win-msvc, win-gnu, win32-msvc]
include:
Expand Down Expand Up @@ -197,7 +198,7 @@ jobs:
shell: bash
run: |
outdir="$(ci/cargo-out-dir.sh "${{ env.TARGET_DIR }}")"
if [ "${{ matrix.os }}" != "windows-2019" ]; then
if [ "${{ matrix.os }}" != "windows-2022" ]; then
asciidoctor --doctype manpage --backend manpage --destination-dir "$outdir" doc/rgr.1.template
fi
staging="repgrep-${{ env.RELEASE_VERSION }}-${{ matrix.target }}"
Expand All @@ -211,7 +212,7 @@ jobs:
cp {LICENSE-*,CHANGELOG.md,README.md} "$staging/doc/"
cp "$outdir"/{_rgr,rgr.bash,rgr.fish,_rgr.ps1} "$staging/complete/"
if [ "${{ matrix.os }}" = "windows-2019" ]; then
if [ "${{ matrix.os }}" = "windows-2022" ]; then
cp "target/release/rgr.exe" "$staging/"
7z a "$staging.zip" "$staging"
echo "ASSET=$staging.zip" >> $GITHUB_ENV
Expand Down

0 comments on commit 50d6376

Please sign in to comment.