Skip to content

Commit

Permalink
wip: readd windows
Browse files Browse the repository at this point in the history
  • Loading branch information
omarabid committed Dec 13, 2023
1 parent b84206f commit fcbaedc
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,29 @@ jobs:
RUST_BACKTRACE: 1
strategy:
matrix:
build: [linux, macos]
build: [linux, macos, windows]
include:
- build: linux
arch: x86_64
os: ubuntu-20.04
rust: stable
toolchain: 1.74.0
target: x86_64-unknown-linux-gnu
extension: ""
- build: macos
arch: x86_64
os: macos-latest
rust: stable
toolchain: 1.74.0
target: x86_64-apple-darwin
extension: ""
- build: windows
arch: x86_64
os: windows-latest
rust: stable
toolchain: 1.74.0
target: x86_64-pc-windows-msvc
extension: ".exe"
steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand All @@ -69,6 +78,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.release.outputs.upload_url }}
asset_path: "target/${{ matrix.target }}/release/giton"
asset_path: "target/${{ matrix.target }}/release/giton${{ matrix.extension }}"
asset_name: "giton-${{ matrix.arch }}-${{ matrix.build }}"
asset_content_type: application/octet-stream

0 comments on commit fcbaedc

Please sign in to comment.