forked from GitHub/gf-core
Move DLLs into another folder first
This commit is contained in:
13
.github/workflows/build-windows-package.yml
vendored
13
.github/workflows/build-windows-package.yml
vendored
@@ -24,11 +24,6 @@ jobs:
|
||||
base-devel
|
||||
gcc
|
||||
|
||||
- name: Find Java stuff
|
||||
shell: msys2 {0}
|
||||
run: |
|
||||
find /c -name "jni.h"
|
||||
|
||||
- name: Setup Haskell
|
||||
uses: actions/setup-haskell@v1
|
||||
id: setup-haskell-cabal
|
||||
@@ -40,6 +35,11 @@ jobs:
|
||||
run: |
|
||||
cabal install alex happy
|
||||
|
||||
- name: Prepare dist folder
|
||||
shell: msys2 {0}
|
||||
run: |
|
||||
mkdir /c/tmp-dist
|
||||
|
||||
- name: Build C runtime
|
||||
shell: msys2 {0}
|
||||
run: |
|
||||
@@ -48,12 +48,13 @@ jobs:
|
||||
./configure
|
||||
make
|
||||
make install
|
||||
cp /mingw64/bin/*.dll /c/tmp-dist
|
||||
|
||||
- name: Upload C runtime to artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: gf-${{ github.sha }}-windows
|
||||
path: D:\mingw64\bin\*
|
||||
path: C:\tmp-dist\*
|
||||
if-no-files-found: error
|
||||
|
||||
# - name: Build Java bindings
|
||||
|
||||
Reference in New Issue
Block a user