Explorar o código

Added installing wine and mono for Windows build

Maybe use native Windows\OSX worker later
Denis %!s(int64=5) %!d(string=hai) anos
pai
achega
9191fa816c
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      .github/workflows/build.yml

+ 4 - 1
.github/workflows/build.yml

@@ -20,6 +20,9 @@ jobs:
           AhMyth-Server
     runs-on: ubuntu-latest
     steps:
+      - name: Install apt dependencies (need for Windows build)
+        run: |
+          apt update && sudo apt-get install --no-install-recommends -y wine mono gcc-multilib g++-multilib
       - uses: actions/checkout@v2
       - name: Setup Node.js environment
         uses: actions/setup-node@v1.4.3
@@ -40,4 +43,4 @@ jobs:
         uses: actions/upload-artifact@v1
         with:
           name: AhMyth
-          path: /dist/
+          path: /dist/