From 353fb4d4d7011713356ade6151296c7161b711c9 Mon Sep 17 00:00:00 2001 From: Alice King Tai Poon <23336645+codenamedpkt@users.noreply.github.com> Date: Sun, 5 Jun 2022 15:39:23 +0800 Subject: [PATCH] Update get-python-versions.yml --- .github/workflows/get-python-versions.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/get-python-versions.yml b/.github/workflows/get-python-versions.yml index 8217e1f..8197a7d 100644 --- a/.github/workflows/get-python-versions.yml +++ b/.github/workflows/get-python-versions.yml @@ -13,11 +13,11 @@ defaults: jobs: find_new_versions: name: Find new versions - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: versions_output: ${{ steps.Get_new_versions.outputs.TOOL_VERSIONS }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@main with: submodules: true @@ -27,12 +27,12 @@ jobs: check_new_versions: name: Check new versions - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: find_new_versions env: TOOL_VERSIONS: ${{needs.find_new_versions.outputs.versions_output}} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@main with: submodules: true @@ -56,13 +56,13 @@ jobs: trigger_builds: name: Trigger builds - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [find_new_versions, check_new_versions] env: TOOL_VERSIONS: ${{needs.find_new_versions.outputs.versions_output}} environment: Get Available Tools Versions - Publishing Approval steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@main with: submodules: true @@ -77,11 +77,11 @@ jobs: check_build: name: Check build for failures - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [find_new_versions, check_new_versions, trigger_builds] if: failure() steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@main with: submodules: true @@ -92,4 +92,4 @@ jobs: ./helpers/get-new-tool-versions/send-slack-notification.ps1 -Url "${{ secrets.SLACK_CHANNEL_URL }}" ` -ToolName "${{ env.TOOL_NAME }}" ` -Text "$message" ` - -ImageUrl "https://avatars.githubusercontent.com/u/1525981?s=200&v=4" \ No newline at end of file + -ImageUrl "https://avatars.githubusercontent.com/u/1525981?s=200&v=4"