diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 81c53a0..2510edd 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -12,17 +12,13 @@ jobs: - 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"