Skip to content

Commit 5f96e99

Browse files
committed
add some test stuff for windows build
1 parent 0e6b96f commit 5f96e99

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141

4242
- name: setup clojure
4343
uses: DeLaGuardo/[email protected]
44+
if: matrix.config.profile != 'windows'
4445
with:
4546
lein: 2.11.2
4647

@@ -61,10 +62,9 @@ jobs:
6162
- name: build ${{ matrix.config.name }}
6263
if: matrix.config.profile == 'windows'
6364
run: |
64-
$GITHUB_REF_NAME = $env:GITHUB_REF_NAME
65-
$VERSION = $GITHUB_REF_NAME -replace '^v', ''
66-
lein set-version "$VERSION"
67-
lein native-image
65+
curl https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein.bat -O lein.bat
66+
.\lein.bat self-install
67+
.\lein.bat native-image
6868
6969
- name: move jar ${{ matrix.config.name }}
7070
if: matrix.config.profile == 'jar'

0 commit comments

Comments
 (0)