Skip to content

Commit

Permalink
Upgrade gh-access version
Browse files Browse the repository at this point in the history
  • Loading branch information
msobo1 committed Oct 22, 2023
1 parent 3829e05 commit e3faa5d
Showing 1 changed file with 32 additions and 34 deletions.
66 changes: 32 additions & 34 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,20 @@ jobs:
run:
shell: bash
steps:
- name: 'Checkout'
uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0

- name: 'Generate access token'
id: accessToken
uses: dolby-io-internal/gh-access@main
uses: dolby-io-internal/gh-access@v1.0.0
with:
gh_app_priv_key: ${{ secrets.GH_APP_RELEASECREATOR_PRIV_KEY }}
gh_app_id: ${{ secrets.GH_APP_ID }}
gh_app_installation_id: ${{ secrets.GH_APP_INSTALLATION_ID }}

- name: 'Checkout'
uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0

- name: 'Download libWebRTC'
uses: ./.github/actions/download_libwebrtc
with:
Expand Down Expand Up @@ -203,20 +203,20 @@ jobs:
run:
shell: bash
steps:
- name: 'Checkout'
uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0

- name: 'Generate access token'
id: accessToken
uses: dolby-io-internal/gh-access@main
uses: dolby-io-internal/gh-access@v1.0.0
with:
gh_app_priv_key: ${{ secrets.GH_APP_RELEASECREATOR_PRIV_KEY }}
gh_app_id: ${{ secrets.GH_APP_ID }}
gh_app_installation_id: ${{ secrets.GH_APP_INSTALLATION_ID }}

- name: 'Checkout'
uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0

- name: 'Download libWebRTC'
uses: ./.github/actions/download_libwebrtc
with:
Expand Down Expand Up @@ -332,22 +332,20 @@ jobs:
run:
shell: bash
steps:
- name: 'Checkout'
uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0

- name: 'Generate access token'
id: accessToken
uses: dolby-io-internal/gh-access@main
uses: dolby-io-internal/gh-access@v1.0.0
with:
gh_app_priv_key: ${{ secrets.GH_APP_RELEASECREATOR_PRIV_KEY }}
gh_app_id: ${{ secrets.GH_APP_ID }}
gh_app_installation_id: ${{ secrets.GH_APP_INSTALLATION_ID }}

- name: 'Checkout'
uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0
- name: 'Install python dependencies'
run: python3 -m pip install pyopenssl --upgrade

- name: 'Download libWebRTC'
uses: ./.github/actions/download_libwebrtc
with:
Expand Down Expand Up @@ -455,21 +453,21 @@ jobs:
TARGET_ARCH: 'x64'

steps:
- name: 'Checkout'
uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0

- name: 'Generate access token'
id: accessToken
uses: dolby-io-internal/gh-access@main
uses: dolby-io-internal/gh-access@v1.0.0
with:
gh_app_priv_key: ${{ secrets.GH_APP_RELEASECREATOR_PRIV_KEY }}
gh_app_id: ${{ secrets.GH_APP_ID }}
gh_app_installation_id: ${{ secrets.GH_APP_INSTALLATION_ID }}
action_shell: 'powershell'

- name: 'Checkout'
uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0

- name: 'Download libWebRTC'
uses: ./.github/actions/download_libwebrtc/win
with:
Expand Down Expand Up @@ -547,17 +545,17 @@ jobs:
url: ${{ vars.ENV_RELEASE_URL }}
runs-on: ubuntu-latest
steps:
- name: 'Checkout the code'
uses: actions/checkout@v4

- name: 'Generate access token'
id: accessToken
uses: dolby-io-internal/gh-access@main
uses: dolby-io-internal/gh-access@v1.0.0
with:
gh_app_priv_key: ${{ secrets.GH_APP_RELEASECREATOR_PRIV_KEY }}
gh_app_id: ${{ secrets.GH_APP_ID }}
gh_app_installation_id: ${{ secrets.GH_APP_INSTALLATION_ID }}

- name: 'Checkout the code'
uses: actions/checkout@v4

- name: 'Prepare release notes'
id: releaseNotes
run: |
Expand Down

0 comments on commit e3faa5d

Please sign in to comment.