Move DLLs into another folder first

This commit is contained in:
John J. Camilleri
2020-11-24 12:48:46 +01:00
parent c8623e2be7
commit d79fa6d22b

View File

@@ -24,11 +24,6 @@ jobs:
base-devel base-devel
gcc gcc
- name: Find Java stuff
shell: msys2 {0}
run: |
find /c -name "jni.h"
- name: Setup Haskell - name: Setup Haskell
uses: actions/setup-haskell@v1 uses: actions/setup-haskell@v1
id: setup-haskell-cabal id: setup-haskell-cabal
@@ -40,6 +35,11 @@ jobs:
run: | run: |
cabal install alex happy cabal install alex happy
- name: Prepare dist folder
shell: msys2 {0}
run: |
mkdir /c/tmp-dist
- name: Build C runtime - name: Build C runtime
shell: msys2 {0} shell: msys2 {0}
run: | run: |
@@ -48,12 +48,13 @@ jobs:
./configure ./configure
make make
make install make install
cp /mingw64/bin/*.dll /c/tmp-dist
- name: Upload C runtime to artifact - name: Upload C runtime to artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: gf-${{ github.sha }}-windows name: gf-${{ github.sha }}-windows
path: D:\mingw64\bin\* path: C:\tmp-dist\*
if-no-files-found: error if-no-files-found: error
# - name: Build Java bindings # - name: Build Java bindings