Skip to content

Commit

Permalink
[CI] make build artifacts available through github
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianBeer committed Jan 4, 2021
1 parent 72b07dc commit f0e9c45
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,8 @@ jobs:
PULL_REQUEST: ${{ github.event.number }}
PULL_REQUEST_SHA: ${{ github.event.pull_request.head.sha }}
run: ./deploy/prepare_deployment.sh android_${{ matrix.type }} && ./deploy/deploy_to_bintray.sh deploy/android_${{ matrix.type }}/

- uses: actions/upload-artifact@v2
with:
name: android_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
path: deploy/android_${{ matrix.type }}/*.7z
6 changes: 6 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,9 @@ jobs:
PULL_REQUEST: ${{ github.event.number }}
PULL_REQUEST_SHA: ${{ github.event.pull_request.head.sha }}
run: ./deploy/prepare_deployment.sh linux_${{ matrix.type }} && ./deploy/deploy_to_bintray.sh deploy/linux_${{ matrix.type }}/

- uses: actions/upload-artifact@v2
if: ${{ ! contains(matrix.type, 'libs') && ! contains(matrix.type, 'server') && ! contains(matrix.type, 'test') }}
with:
name: linux_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
path: deploy/linux_${{ matrix.type }}/*.7z
6 changes: 6 additions & 0 deletions .github/workflows/mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,9 @@ jobs:
PULL_REQUEST: ${{ github.event.number }}
PULL_REQUEST_SHA: ${{ github.event.pull_request.head.sha }}
run: ./deploy/prepare_deployment.sh win_${{ matrix.type }} && ./deploy/deploy_to_bintray.sh deploy/win_${{ matrix.type }}/

- uses: actions/upload-artifact@v2
if: ${{ ! contains(matrix.type, 'libs') }}
with:
name: win_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
path: deploy/win_${{ matrix.type }}/*.7z
13 changes: 13 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,16 @@ jobs:
run: |
call deploy\prepare_deployment.bat
call deploy\deploy_to_bintray.bat
- uses: actions/upload-artifact@v2
with:
name: win_apps_${{ github.event.pull_request.head.sha }}
path: deploy/win_apps/*.7z
- uses: actions/upload-artifact@v2
with:
name: win_client_${{ github.event.pull_request.head.sha }}
path: deploy/win_client/*.7z
- uses: actions/upload-artifact@v2
with:
name: win_manager_${{ github.event.pull_request.head.sha }}
path: deploy/win_manager/*.7z

0 comments on commit f0e9c45

Please sign in to comment.