Skip to content

Commit

Permalink
another try with windows gh-action, now powershell
Browse files Browse the repository at this point in the history
  • Loading branch information
stschiff committed Mar 7, 2024
1 parent bde4d87 commit 110fe7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
# bash .github/workflows/upload-github-release-asset.sh github_api_token=${{ secrets.GITHUB_TOKEN }} owner=stschiff repo=sequenceTools tag=$(basename $GITHUB_REF) filename=$TOOL-linux
# done

build-on-mac-and-linux:
build:
needs: [create_release]
name: ${{ matrix.os }}/${{ github.ref_name }}
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:

- name: Rename binaries (windows)
if: ${{ matrix.os == 'windows-latest' }}
run: for %%i in (genoStats pileupCaller vcf2eigenstrat) do ren "%USERPROFILE%\.local\bin\%%i" "%%i-windows"
run: foreach ($tool in "genoStats", "pileupCaller", "vcf2eigenstrat") { Rename-Item "$env:USERPROFILE\.local\bin\$tool" "$tool-windows" }

- name: Upload Release Asset
id: upload-release-asset
Expand Down

0 comments on commit 110fe7a

Please sign in to comment.