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
|
name: CMake Linux
|
||||||
|
|
||||||
on: [push]
|
on: [push, pull_request]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||||
@ -59,6 +59,7 @@ jobs:
|
|||||||
name: vgmstream-audacious
|
name: vgmstream-audacious
|
||||||
|
|
||||||
- name: Upload Artifacts to S3
|
- name: Upload Artifacts to S3
|
||||||
|
if: github.event_name != 'pull_request'
|
||||||
working-directory: ${{runner.workspace}}/build
|
working-directory: ${{runner.workspace}}/build
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
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
|
# Controls when the action will run. Triggers the workflow on push or pull request
|
||||||
# events but only for the master branch
|
# events but only for the master branch
|
||||||
on:
|
on: [push, pull_request]
|
||||||
push:
|
|
||||||
branches: [ master ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ master ]
|
|
||||||
|
|
||||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
jobs:
|
jobs:
|
||||||
@ -105,6 +101,7 @@ jobs:
|
|||||||
path: ${{github.workspace}}\tmp\cli-p
|
path: ${{github.workspace}}\tmp\cli-p
|
||||||
|
|
||||||
- name: Upload Artifacts to S3
|
- name: Upload Artifacts to S3
|
||||||
|
if: github.event_name != 'pull_request'
|
||||||
working-directory: ${{github.workspace}}
|
working-directory: ${{github.workspace}}
|
||||||
shell: powershell
|
shell: powershell
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user