Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f3bf4a4954 | |||
| 20c962c711 |
@@ -7,22 +7,18 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install Rust stable
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: stable
|
||||
targets: x86_64-pc-windows-msvc
|
||||
|
||||
- name: Build release binary
|
||||
shell: powershell
|
||||
run: cargo build --release
|
||||
|
||||
- name: Create Gitea Release
|
||||
id: create_release
|
||||
shell: powershell
|
||||
run: |
|
||||
$tag = "${{ github.ref_name }}"
|
||||
$body = @{
|
||||
@@ -45,6 +41,7 @@ jobs:
|
||||
echo "release_id=$($response.id)" >> $env:GITHUB_OUTPUT
|
||||
|
||||
- name: Upload binary asset
|
||||
shell: powershell
|
||||
run: |
|
||||
$releaseId = "${{ steps.create_release.outputs.release_id }}"
|
||||
$filePath = "target\release\tickr.exe"
|
||||
|
||||
Reference in New Issue
Block a user