Browse Source

Update macos.yml

Ray 5 years ago
parent
commit
89cf02ba56
1 changed files with 7 additions and 1 deletions
  1. 7 1
      .github/workflows/macos.yml

+ 7 - 1
.github/workflows/macos.yml

@@ -11,11 +11,17 @@ jobs:
     runs-on: macos-latest
     
     env:
-      RELEASE_NAME: raylib-3.1_macos
+      RELEASE_NAME: raylib-dev_macos
     
     steps:
     - name: Checkout
       uses: actions/checkout@master
+    
+    - name: Setup Release Version
+      run: |
+        echo "::set-env name=RELEASE_NAME::raylib-${{ github.event.release.tag_name }}_macos"
+      shell: bash
+      if: github.event_name == 'release' && github.event.action == 'published'
 
     - name: Setup Environment
       run: |