mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-11 06:15:05 +00:00
ci: Don't perform tasks relying on secrets in pull requests
This commit is contained in:
parent
1b573103cc
commit
0d15216761
1 changed files with 10 additions and 2 deletions
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
|
@ -42,6 +42,7 @@ jobs:
|
|||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
- name: "libobs: Cache"
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
|
@ -50,6 +51,7 @@ jobs:
|
|||
build/temp/libobs-src
|
||||
key: libobs-${{ matrix.id }}-${{ env.OBS_VERSION }}-${{ env.DOWNLOAD_OBS_HASH }}-${{ secrets.CACHE_VERSION }}
|
||||
- name: "obsdeps: Cache"
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
|
@ -58,6 +60,7 @@ jobs:
|
|||
build/temp/obsdeps-src
|
||||
key: obsdeps-${{ matrix.id }}-${{ env.OBSDEPS_VERSION }}-${{ env.DOWNLOAD_OBSDEPS_HASH }}-${{ secrets.CACHE_VERSION }}
|
||||
- name: "qt: Cache"
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
|
@ -66,6 +69,7 @@ jobs:
|
|||
build/temp/qt-src
|
||||
key: qt-${{ matrix.id }}-${{ env.OBSDEPS_VERSION }}-${{ env.QT_VERSION }}-${{ secrets.CACHE_VERSION }}
|
||||
- name: "libaom: Cache"
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
uses: actions/cache@v2
|
||||
id: libaom-cache
|
||||
with:
|
||||
|
@ -80,7 +84,7 @@ jobs:
|
|||
curl -L -o "aom.7z" "https://github.com/Xaymar/aom/releases/download/v${{ env.LIBAOM_VERSION }}/aom-windows-64-shared.7z"
|
||||
7z x -y -o"build/libaom/" "aom.7z"
|
||||
- name: "Code Signing"
|
||||
if: ${{ github.repository_owner == 'Xaymar' }}
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
id: codesign
|
||||
shell: bash
|
||||
run: |
|
||||
|
@ -122,7 +126,7 @@ jobs:
|
|||
cmake --build "build/temp" --config RelWithDebInfo --target PACKAGE_7Z
|
||||
cmake --build "build/temp" --config RelWithDebInfo --target PACKAGE_ZIP
|
||||
- name: "StreamFX: Signed Installer Preparation"
|
||||
if: ${{ github.repository_owner == 'Xaymar' }}
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
id: codesign_install
|
||||
shell: bash
|
||||
run: |
|
||||
|
@ -192,6 +196,7 @@ jobs:
|
|||
libcurl4-openssl-dev
|
||||
${{ matrix.extra_command }}
|
||||
- name: "libobs: Cache"
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
|
@ -247,6 +252,7 @@ jobs:
|
|||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
- name: "libobs: Cache"
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
|
@ -255,6 +261,7 @@ jobs:
|
|||
build/temp/libobs-src
|
||||
key: libobs-${{ matrix.id }}-${{ env.OBS_VERSION }}-${{ env.DOWNLOAD_OBS_HASH }}-${{ secrets.CACHE_VERSION }}
|
||||
- name: "obsdeps: Cache"
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
|
@ -263,6 +270,7 @@ jobs:
|
|||
build/temp/obsdeps-src
|
||||
key: obsdeps-${{ matrix.id }}-${{ env.OBSDEPS_VERSION }}-${{ env.DOWNLOAD_OBSDEPS_HASH }}-${{ secrets.CACHE_VERSION }}
|
||||
- name: "qt: Cache"
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
uses: actions/cache@v2
|
||||
id: qt-cache
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue