Skip to content

Commit cb21f0f

Browse files
authored
Merge pull request #375 from CoSMoSoftware/feature/upgrade_gh_access
Upgrade gh-access version
2 parents 6368899 + 71070eb commit cb21f0f

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,15 @@ jobs:
6767
with:
6868
submodules: 'recursive'
6969
fetch-depth: 0
70+
7071
- name: 'Generate access token'
7172
id: accessToken
72-
uses: dolby-io-internal/gh-access@v0.0.4-macos-linux
73+
uses: dolby-io-internal/gh-access@v1.0.0
7374
with:
7475
gh_app_priv_key: ${{ secrets.GH_APP_RELEASECREATOR_PRIV_KEY }}
7576
gh_app_id: ${{ secrets.GH_APP_ID }}
7677
gh_app_installation_id: ${{ secrets.GH_APP_INSTALLATION_ID }}
78+
7779
- name: 'Download libWebRTC'
7880
uses: ./.github/actions/download_libwebrtc
7981
with:
@@ -206,13 +208,15 @@ jobs:
206208
with:
207209
submodules: 'recursive'
208210
fetch-depth: 0
211+
209212
- name: 'Generate access token'
210213
id: accessToken
211-
uses: dolby-io-internal/gh-access@v0.0.4-macos-linux
214+
uses: dolby-io-internal/gh-access@v1.0.0
212215
with:
213216
gh_app_priv_key: ${{ secrets.GH_APP_RELEASECREATOR_PRIV_KEY }}
214217
gh_app_id: ${{ secrets.GH_APP_ID }}
215218
gh_app_installation_id: ${{ secrets.GH_APP_INSTALLATION_ID }}
219+
216220
- name: 'Download libWebRTC'
217221
uses: ./.github/actions/download_libwebrtc
218222
with:
@@ -333,15 +337,15 @@ jobs:
333337
with:
334338
submodules: 'recursive'
335339
fetch-depth: 0
336-
- name: 'Install python dependencies'
337-
run: python3 -m pip install pyopenssl --upgrade
340+
338341
- name: 'Generate access token'
339342
id: accessToken
340-
uses: dolby-io-internal/gh-access@v0.0.4-macos-linux
343+
uses: dolby-io-internal/gh-access@v1.0.0
341344
with:
342345
gh_app_priv_key: ${{ secrets.GH_APP_RELEASECREATOR_PRIV_KEY }}
343346
gh_app_id: ${{ secrets.GH_APP_ID }}
344347
gh_app_installation_id: ${{ secrets.GH_APP_INSTALLATION_ID }}
348+
345349
- name: 'Download libWebRTC'
346350
uses: ./.github/actions/download_libwebrtc
347351
with:
@@ -447,6 +451,7 @@ jobs:
447451
CMAKE_SYSTEM_VERSION: '10.0.18363.657'
448452
VIRTUALCAM-GUID: 'A3FCE0F5-3493-419F-958A-ABA1250EC20B'
449453
TARGET_ARCH: 'x64'
454+
450455
steps:
451456
- name: 'Checkout'
452457
uses: actions/checkout@v4
@@ -456,11 +461,12 @@ jobs:
456461

457462
- name: 'Generate access token'
458463
id: accessToken
459-
uses: dolby-io-internal/gh-access@v0.0.3-windows
464+
uses: dolby-io-internal/gh-access@v1.0.0
460465
with:
461466
gh_app_priv_key: ${{ secrets.GH_APP_RELEASECREATOR_PRIV_KEY }}
462467
gh_app_id: ${{ secrets.GH_APP_ID }}
463468
gh_app_installation_id: ${{ secrets.GH_APP_INSTALLATION_ID }}
469+
action_shell: 'powershell'
464470

465471
- name: 'Download libWebRTC'
466472
uses: ./.github/actions/download_libwebrtc/win
@@ -503,7 +509,7 @@ jobs:
503509
env:
504510
FLAVOUR: NDI
505511

506-
- name: 'Sign obs exe'
512+
- name: 'Sign obs executable'
507513
working-directory: ${{github.workspace}}/build_${{ env.VENDOR }}
508514
run: |
509515
echo "${{ secrets.WINDOWS_SIGN_CERT }}" > certificate.b64
@@ -544,7 +550,7 @@ jobs:
544550

545551
- name: 'Generate access token'
546552
id: accessToken
547-
uses: dolby-io-internal/gh-access@v0.0.4-macos-linux
553+
uses: dolby-io-internal/gh-access@v1.0.0
548554
with:
549555
gh_app_priv_key: ${{ secrets.GH_APP_RELEASECREATOR_PRIV_KEY }}
550556
gh_app_id: ${{ secrets.GH_APP_ID }}

0 commit comments

Comments
 (0)