Skip to content

Commit

Permalink
Merge pull request #1692 from namark/build-artifacts-master
Browse files Browse the repository at this point in the history
Use GHA artifacts instead of custom uploader in master builds.
  • Loading branch information
digisomni authored Aug 23, 2022
2 parents 292dc35 + 3717e25 commit 0f4af13
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/master_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,14 +223,21 @@ jobs:
working-directory: ${{runner.workspace}}/build
run: cat ./_CPack_Packages/win64/NSIS/NSISOutput.log

- name: Upload artifact
if: startsWith(matrix.os, 'windows') || startsWith(matrix.os, 'macOS')
shell: bash
working-directory: ${{runner.workspace}}/build
env:
AWS_ACCESS_KEY_ID: ${{ secrets.aws_access_key_id }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.aws_secret_access_key }}
run: $PYTHON_EXEC $GITHUB_WORKSPACE/tools/ci-scripts/upload.py
- name: Upload full build
if: matrix.build_type == 'full' && (startsWith(matrix.os, 'windows') || startsWith(matrix.os, 'macOS'))
uses: actions/upload-artifact@v3
with:
name: build-full-${{ matrix.os }}-${{ github.event.number }}
path: ${{ runner.workspace }}/build/Vircadia-*.${{ env.INSTALLER_EXT }}
if-no-files-found: error

- name: Upload client build
if: matrix.build_type == 'client' && (startsWith(matrix.os, 'windows') || startsWith(matrix.os, 'macOS'))
uses: actions/upload-artifact@v3
with:
name: build-interface-${{ matrix.os }}-${{ github.event.number }}
path: ${{ runner.workspace }}/build/Vircadia-*.${{ env.INSTALLER_EXT }}
if-no-files-found: error

#- name: Archive symbols
# if: startsWith(matrix.os, 'windows') || startsWith(matrix.os, 'macOS')
Expand Down

0 comments on commit 0f4af13

Please sign in to comment.