mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-28 08:20:54 +01:00
Modified GHA to not upload to S3 when PR is built
This commit is contained in:
parent
bf3bb45db9
commit
ca98584fd0
3
.github/workflows/cmake-lx.yml
vendored
3
.github/workflows/cmake-lx.yml
vendored
@ -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:
|
||||
|
7
.github/workflows/vs-win.yml
vendored
7
.github/workflows/vs-win.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user