This commit is contained in:
@@ -12,17 +12,13 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
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
|
- name: Build release binary
|
||||||
|
shell: powershell
|
||||||
run: cargo build --release
|
run: cargo build --release
|
||||||
|
|
||||||
- name: Create Gitea Release
|
- name: Create Gitea Release
|
||||||
id: create_release
|
id: create_release
|
||||||
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
$tag = "${{ github.ref_name }}"
|
$tag = "${{ github.ref_name }}"
|
||||||
$body = @{
|
$body = @{
|
||||||
@@ -45,6 +41,7 @@ jobs:
|
|||||||
echo "release_id=$($response.id)" >> $env:GITHUB_OUTPUT
|
echo "release_id=$($response.id)" >> $env:GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Upload binary asset
|
- name: Upload binary asset
|
||||||
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
$releaseId = "${{ steps.create_release.outputs.release_id }}"
|
$releaseId = "${{ steps.create_release.outputs.release_id }}"
|
||||||
$filePath = "target\release\tickr.exe"
|
$filePath = "target\release\tickr.exe"
|
||||||
|
|||||||
Reference in New Issue
Block a user