changeset 37:b283e2d60deb v1.1

Minor changes to GitHub Actions workflow
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Sun, 17 Apr 2022 03:07:54 -0400
parents 4c5f3d8d31e1
children 161ec4e87d0a
files .github/workflows/build.yml
diffstat 1 files changed, 12 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/build.yml	Sun Apr 17 02:58:48 2022 -0400
+++ b/.github/workflows/build.yml	Sun Apr 17 03:07:54 2022 -0400
@@ -23,7 +23,9 @@
         install: >-
           make
           mingw-w64-${{matrix.env}}-clang
+
     - uses: actions/checkout@v2
+
     - name: make
       run: |
         export CC=clang
@@ -31,25 +33,33 @@
         make gui
         strip msvpvf.exe
         strip gui.exe
+
     - name: Upload artifact
       uses: actions/upload-artifact@v2
       with:
         name: msvpvf-win-${{matrix.env}}-${{ github.sha }}
         path: |
+          LICENSE
           gui.exe
           msvpvf.exe
+
   build-mac:
     runs-on: macOS-latest
     steps:
+    - name: Install "dependencies"
+      run: brew install zip
+
     - uses: actions/checkout@v2
+
     - name: make
       run: | 
         make
         strip msvpvf
-        gzip -k msvpvf
+        zip msvpvf.zip msvpvf LICENSE
+
     - name: Upload artifact
       uses: actions/upload-artifact@v2
       with:
         name: msvpvf-osx-${{ github.sha }}
         path: |
-          msvpvf.gz
+          msvpvf.zip