Skip to content

Commit

Permalink
I hate tags
Browse files Browse the repository at this point in the history
  • Loading branch information
magicaldave committed Feb 9, 2024
1 parent a438181 commit af97100
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: release

on:
workflow_dispatch:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
pull_request:
branches: [ v2.1 ]

jobs:
setup:
runs-on: ubuntu-latest
Expand All @@ -28,11 +31,11 @@ jobs:
archive: windows-latest.zip
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly

- name: build
run: cargo +nightly build --release
run: cargo build --release

- name: compress
run: tar -acf ${{ matrix.archive }} -C ./target/release/ ${{ matrix.binary }}
Expand Down

0 comments on commit af97100

Please sign in to comment.