From e3faa5dbaa7b594ccdf319239cd7efe7a4d9c8b2 Mon Sep 17 00:00:00 2001 From: Marek Sobolak Date: Sun, 22 Oct 2023 23:17:16 +0200 Subject: [PATCH] Upgrade gh-access version --- .github/workflows/main.yml | 66 ++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 34 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 414abc19e..807483ed4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: @@ -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: @@ -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: @@ -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: @@ -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: |