👷 publish windows executable on release #1
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
name: Test Release Workflow | |
on: | |
push: | |
jobs: | |
release-exe: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install 1.77.0 toolchain | |
uses: dtolnay/[email protected] | |
- name: Cache Rust dependencies | |
uses: Swatinem/rust-cache@v2 | |
- name: Build release | |
run: cargo build --release | |
- name: Publish release | |
uses: softprops/action-gh-release@v2 | |
with: | |
files: target/release/surrealdb-migrations.exe | |
token: ${{ secrets.GITHUB_TOKEN }} |