Upload daily build packages 6.

This commit is contained in:
Gonzalo Exequiel Pedone 2021-06-29 18:22:19 -03:00
parent 60c3165892
commit 287d6f2c61
No known key found for this signature in database
GPG key ID: B8B09E63E9B85BAF
4 changed files with 38 additions and 21 deletions

View file

@ -19,15 +19,11 @@ jobs:
./ports/ci/linux-mingw/install_deps.sh ./ports/ci/linux-mingw/install_deps.sh
- name: Release Build - name: Release Build
if: ${{ startsWith(github.ref, 'refs/tags/') }} if: ${{ startsWith(github.ref, 'refs/tags/') }}
env:
RELEASE_BUILD: 1
run: | run: |
chmod +x ports/ci/linux-mingw/build.sh chmod +x ports/ci/linux-mingw/build.sh
./ports/ci/linux-mingw/build.sh ./ports/ci/linux-mingw/build.sh
- name: Release Deploy - name: Release Deploy
if: ${{ startsWith(github.ref, 'refs/tags/') }} if: ${{ startsWith(github.ref, 'refs/tags/') }}
env:
RELEASE_BUILD: 1
run: | run: |
chmod +x ports/ci/linux-mingw/deploy.sh chmod +x ports/ci/linux-mingw/deploy.sh
./ports/ci/linux-mingw/deploy.sh ./ports/ci/linux-mingw/deploy.sh
@ -45,27 +41,22 @@ jobs:
run: | run: |
chmod +x ports/ci/linux-mingw/deploy.sh chmod +x ports/ci/linux-mingw/deploy.sh
./ports/ci/linux-mingw/deploy.sh ./ports/ci/linux-mingw/deploy.sh
# - name: Upload - name: Release Upload
# run: |
# chmod +x ports/ci/linux-mingw/upload.sh
# ./ports/ci/linux-mingw/upload.sh
- name: Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
if: ${{ startsWith(github.ref, 'refs/tags/') }} if: ${{ startsWith(github.ref, 'refs/tags/') }}
with: with:
files: webcamoid-packages/* files: webcamoid-packages/*
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Daily Build - name: Daily Build Upload
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
if: ${{ !startsWith(github.ref, 'refs/tags/') }} if: ${{ !startsWith(github.ref, 'refs/tags/') }}
with: with:
body: ${{ github.event.head_commit.message }} body: ${{ github.event.head_commit.message }} (commit: ${{ github.sha }})
prerelease: true prerelease: true
files: webcamoid-packages/* files: webcamoid-packages/*
name: Daily Build name: Daily Build
tag_name: daily-build tag_name: daily-build
target_commitish: ${{ github.sha }}
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Linux MinGW daily build packages - name: Linux MinGW daily build packages

View file

@ -14,18 +14,48 @@ jobs:
run: | run: |
chmod +x ports/ci/mac/install_deps.sh chmod +x ports/ci/mac/install_deps.sh
./ports/ci/mac/install_deps.sh ./ports/ci/mac/install_deps.sh
- name: Build - name: Release Build
if: ${{ startsWith(github.ref, 'refs/tags/') }}
run: | run: |
chmod +x ports/ci/mac/build.sh chmod +x ports/ci/mac/build.sh
./ports/ci/mac/build.sh ./ports/ci/mac/build.sh
- name: Deploy - name: Release Deploy
if: ${{ startsWith(github.ref, 'refs/tags/') }}
run: | run: |
chmod +x ports/ci/mac/deploy.sh chmod +x ports/ci/mac/deploy.sh
./ports/ci/mac/deploy.sh ./ports/ci/mac/deploy.sh
- name: Upload - name: Daily Build
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
env:
DAILY_BUILD: 1
run: | run: |
chmod +x ports/ci/mac/upload.sh chmod +x ports/ci/mac/build.sh
./ports/ci/mac/upload.sh ./ports/ci/mac/build.sh
- name: Daily Deploy
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
env:
DAILY_BUILD: 1
run: |
chmod +x ports/ci/mac/deploy.sh
./ports/ci/mac/deploy.sh
- name: Release Upload
uses: softprops/action-gh-release@v1
if: ${{ startsWith(github.ref, 'refs/tags/') }}
with:
files: webcamoid-packages/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Daily Build Upload
uses: softprops/action-gh-release@v1
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
with:
body: ${{ github.event.head_commit.message }} (commit: ${{ github.sha }})
prerelease: true
files: webcamoid-packages/*
name: Daily Build
tag_name: daily-build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: MacOS daily build packages - name: MacOS daily build packages
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:

View file

@ -29,8 +29,6 @@ jobs:
run: ./ports/ci/windows-msys/build.sh run: ./ports/ci/windows-msys/build.sh
- name: Deploy - name: Deploy
run: ./ports/ci/windows-msys/deploy.sh run: ./ports/ci/windows-msys/deploy.sh
- name: Upload
run: ./ports/ci/windows-msys/upload.sh
- name: Windows MSYS daily build packages - name: Windows MSYS daily build packages
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:

View file

@ -18,8 +18,6 @@ jobs:
run: ports\ci\windows-vs\build.bat run: ports\ci\windows-vs\build.bat
- name: Deploy - name: Deploy
run: ports\ci\windows-vs\deploy.bat run: ports\ci\windows-vs\deploy.bat
- name: Upload
run: ports\ci\windows-vs\upload.bat
- name: Windows MSVC daily build packages - name: Windows MSVC daily build packages
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with: