From 1a6f2f31d047690ae2aa374f88cf08e5653da330 Mon Sep 17 00:00:00 2001 From: Gonzalo Exequiel Pedone Date: Mon, 28 Jun 2021 19:54:26 -0300 Subject: [PATCH] Upload daily build packages 2. --- .github/workflows/linux-mingw.yml | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/.github/workflows/linux-mingw.yml b/.github/workflows/linux-mingw.yml index d882200..1f1e66e 100644 --- a/.github/workflows/linux-mingw.yml +++ b/.github/workflows/linux-mingw.yml @@ -17,18 +17,38 @@ jobs: run: | chmod +x ports/ci/linux-mingw/install_deps.sh ./ports/ci/linux-mingw/install_deps.sh - - name: Build + - name: Release Build + if: startsWith(github.ref, 'refs/tags/') + env: + RELEASE_BUILD: 1 run: | chmod +x ports/ci/linux-mingw/build.sh ./ports/ci/linux-mingw/build.sh - - name: Deploy + - name: Release Deploy + if: startsWith(github.ref, 'refs/tags/') + env: + RELEASE_BUILD: 1 run: | chmod +x ports/ci/linux-mingw/deploy.sh ./ports/ci/linux-mingw/deploy.sh - - name: Upload + - name: Daily Build + if: !startsWith(github.ref, 'refs/tags/') + env: + DAILY_BUILD: 1 run: | - chmod +x ports/ci/linux-mingw/upload.sh - ./ports/ci/linux-mingw/upload.sh + chmod +x ports/ci/linux-mingw/build.sh + ./ports/ci/linux-mingw/build.sh + - name: Daily Deploy + if: !startsWith(github.ref, 'refs/tags/') + env: + DAILY_BUILD: 1 + run: | + chmod +x ports/ci/linux-mingw/deploy.sh + ./ports/ci/linux-mingw/deploy.sh +# - name: Upload +# run: | +# #chmod +x ports/ci/linux-mingw/upload.sh +# #./ports/ci/linux-mingw/upload.sh - name: Linux MinGW daily build packages uses: actions/upload-artifact@v2 with: