Skip to content

Commit

Permalink
Windows release process
Browse files Browse the repository at this point in the history
  • Loading branch information
ktechmidas committed Oct 20, 2024
1 parent 33d53f1 commit 919e164
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
matrix:
include:
- name: "Windows"
- name: "linux-amd64"
runs-on: "ubuntu-20.04"
target: "x86_64-unknown-linux-gnu"
platform: "amd64"
Expand All @@ -40,6 +40,7 @@ jobs:
runs-on: "ubuntu-20.04"
target: "x86_64-pc-windows-gnu"
platform: "windows"
ext: ".exe"

runs-on: ${{ matrix.runs-on }}

Expand Down Expand Up @@ -107,7 +108,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: dash-evo-tool-${{ matrix.target }}
path: target/${{ matrix.target }}/release/dash-evo-tool
path: target/${{ matrix.target }}/release/dash-evo-tool${{ matrix.ext }}

#continue-on-error: true

Expand Down Expand Up @@ -140,6 +141,12 @@ jobs:
name: dash-evo-tool-aarch64-apple-darwin
path: ./release/dash-evo-tool-aarch64-apple-darwin/

- name: Download Windows
uses: actions/download-artifact@v3
with:
name: dash-evo-tool-x86_64-pc-windows-gnu
path: ./release/dash-evo-tool-x86_64-pc-windows-gnu/

- name: Rename Linux X64 file
run: mv ./release/dash-evo-tool-x86_64-unknown-linux-gnu/dash-evo-tool ./release/dash-evo-tool-x86_64-linux

Expand All @@ -152,6 +159,9 @@ jobs:
- name: Rename Mac ARM file
run: mv ./release/dash-evo-tool-aarch64-apple-darwin/dash-evo-tool ./release/dash-evo-tool-aarch64-mac

- name: Rename Windows file
run: mv ./release/dash-evo-tool-x86_64-pc-windows-gnu/dash-evo-tool.exe ./release/dash-evo-tool.exe

- name: Check dir
run: ls -lah ./release/dash-evo-tool-aarch64-apple-darwin

Expand All @@ -166,5 +176,6 @@ jobs:
./release/dash-evo-tool-aarch64-linux
./release/dash-evo-tool-x86_64-mac
./release/dash-evo-tool-aarch64-mac
./release/dash-evo-tool.exe
draft: false
prerelease: true

0 comments on commit 919e164

Please sign in to comment.