Skip to content

Commit 4a0ce1b

Browse files
Cleanup workflow
1 parent ee9f83d commit 4a0ce1b

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ jobs:
66
name: 'Linux 64bit'
77
runs-on: ubuntu-latest
88
env:
9-
obs-studio-version: 25.0.0
9+
minimum-obs-version: 25.0.0
1010
project-name: hyperion-obs
11-
project-git: hyperion-obs-plugin
11+
project-git: https://github.com/hyperion-project/hyperion-obs-plugin
1212
maintainer: hyperion-project.org
1313

1414
steps:
@@ -48,8 +48,8 @@ jobs:
4848
--exclude="/usr/include/flatbuffers,/usr/bin,/usr/lib/x86_64-linux-gnu/cmake,/usr/lib/x86_64-linux-gnu/pkgconfig" \
4949
--pkglicense="MIT" --maintainer="${{ env.maintainer }}" \
5050
--pkggroup="video" \
51-
--pkgsource="https://github.com/${{ env.project-git }}" \
52-
--requires="obs-studio \(\>= ${{ env.obs-studio-version }}\)" \
51+
--pkgsource="${{ env.project-git }}" \
52+
--requires="obs-studio \(\>= ${{ env.minimum-obs-version }}\)" \
5353
--pakdir="${{ github.workspace }}/plugin"
5454
sudo mv ${{ github.workspace }}/plugin/*.deb ${{ github.workspace }}/plugin/${{ env.project-name }}.${{ env.VERSION }}.linux.x64.deb
5555
@@ -69,8 +69,6 @@ jobs:
6969
CEF_WRAPPER: 'cef_binary_75.1.16+g16a67c4+chromium-75.0.3770.100_windows64_minimal'
7070
CMAKE_GENERATOR: "Visual Studio 16 2019"
7171
CMAKE_SYSTEM_VERSION: "10.0"
72-
project-git: hyperion-obs-plugin
73-
project-name: hyperion-project.org
7472

7573
steps:
7674
- name: Checkout hyperion-obs
@@ -125,7 +123,7 @@ jobs:
125123
with:
126124
path: ${{ github.workspace }}/obs-studio/build
127125
key: ${{ runner.os }}-build-cache-obs-${{ env.OBS_GIT_TAG }}
128-
restore-keys: ${{ runner.os }}-build-cache-obs-${{ env.OBS_GIT_TAG }}
126+
restore-keys: ${{ runner.os }}-build-cache-obs-
129127

130128
- name: 'Configure OBS'
131129
if: steps.build-cache-obs.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)