Modified GHA to not upload to S3 when PR is built

This commit is contained in:
Kevin López Brante 2020-10-10 20:45:39 -03:00
parent bf3bb45db9
commit ca98584fd0
2 changed files with 4 additions and 6 deletions

View File

@ -1,6 +1,6 @@
name: CMake Linux
on: [push]
on: [push, pull_request]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
@ -59,6 +59,7 @@ jobs:
name: vgmstream-audacious
- name: Upload Artifacts to S3
if: github.event_name != 'pull_request'
working-directory: ${{runner.workspace}}/build
shell: bash
env:

View File

@ -4,11 +4,7 @@ name: Windows VS 2017
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
on: [push, pull_request]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
@ -105,6 +101,7 @@ jobs:
path: ${{github.workspace}}\tmp\cli-p
- name: Upload Artifacts to S3
if: github.event_name != 'pull_request'
working-directory: ${{github.workspace}}
shell: powershell
env: