Skip to content

Commit

Permalink
bumped lair binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
matthme committed Jan 31, 2024
1 parent 605c0aa commit ea738dd
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/lair-binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,30 +41,30 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cargo install --version 0.4.1 lair_keystore
cargo install --version 0.4.2 lair_keystore
$LkPath = Get-Command lair-keystore | Select-Object -ExpandProperty Definition
Copy-Item $LkPath -Destination "lair-keystore-v0.4.1-x86_64-pc-windows-msvc.exe"
Copy-Item $LkPath -Destination "lair-keystore-v0.4.2-x86_64-pc-windows-msvc.exe"
gh release upload "$($env:GITHUB_REF -replace "refs/tags/")" "lair-keystore-v0.4.1-x86_64-pc-windows-msvc.exe"
gh release upload "$($env:GITHUB_REF -replace "refs/tags/")" "lair-keystore-v0.4.2-x86_64-pc-windows-msvc.exe"
- name: setup binaries (macos only)
if: matrix.platform == 'macos-11'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cargo install --version 0.4.1 lair_keystore
cargo install --version 0.4.2 lair_keystore
LAIR_PATH=$(which lair-keystore)
cp $LAIR_PATH lair-keystore-v0.4.1-x86_64-apple-darwin
cp $LAIR_PATH lair-keystore-v0.4.2-x86_64-apple-darwin
gh release upload "${GITHUB_REF#refs/tags/}" "lair-keystore-v0.4.1-x86_64-apple-darwin"
gh release upload "${GITHUB_REF#refs/tags/}" "lair-keystore-v0.4.2-x86_64-apple-darwin"
- name: setup binaries (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cargo install --version 0.4.1 lair_keystore
cargo install --version 0.4.2 lair_keystore
LAIR_PATH=$(which lair-keystore)
cp $LAIR_PATH lair-keystore-v0.4.1-x86_64-unknown-linux-gnu
cp $LAIR_PATH lair-keystore-v0.4.2-x86_64-unknown-linux-gnu
gh release upload "${GITHUB_REF#refs/tags/}" "lair-keystore-v0.4.1-x86_64-unknown-linux-gnu"
gh release upload "${GITHUB_REF#refs/tags/}" "lair-keystore-v0.4.2-x86_64-unknown-linux-gnu"

0 comments on commit ea738dd

Please sign in to comment.