Browse Source

Update linux.yml

Ray 5 years ago
parent
commit
a33111ae9d
1 changed files with 7 additions and 1 deletions
  1. 7 1
      .github/workflows/linux.yml

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

@@ -25,11 +25,17 @@ jobs:
           COMPILER_PATH: "/user/bin"
           
     env:
-      RELEASE_NAME: raylib-3.1_linux_${{ matrix.ARCH_NAME }}
+      RELEASE_NAME: raylib-dev_linux_${{ matrix.ARCH_NAME }}
     
     steps:
     - name: Checkout code
       uses: actions/checkout@master
+    
+    - name: Setup Release Version
+      run: |
+        echo "::set-env name=RELEASE_NAME::raylib-${{ github.event.release.tag_name }}_linux_${{ matrix.ARCH_NAME }}"
+      shell: bash
+      if: github.event_name == 'release' && github.event.action == 'published'
       
     - name: Setup Environment
       run: |