From 347bf8a4f6b9559261fd7c6553f05a8584a820d5 Mon Sep 17 00:00:00 2001 From: VintagePC <53943260+vintagepc@users.noreply.github.com> Date: Sun, 6 Nov 2022 10:00:58 -0500 Subject: [PATCH] Update checkout --- .github/workflows/build.yml | 17 ++++++++--------- .github/workflows/lint.yml | 4 ++-- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 85416a0494..e8d3cc2a0d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Checkout ${{ github.event.pull_request.head.ref }} - uses: actions/checkout@v2.5.0 + uses: actions/checkout@v3 if: ${{ github.event.pull_request }} with: repository: ${{ github.repository }} @@ -31,7 +31,7 @@ jobs: submodules: false - name: Checkout ${{ github.event.ref }} - uses: actions/checkout@v2.5.0 + uses: actions/checkout@v3 if: ${{ !github.event.pull_request }} with: repository: ${{ github.repository }} @@ -65,7 +65,7 @@ jobs: run: cd ${{ runner.workspace }}/MINI404 && make -j3 - name: Checkout Wiki - uses: actions/checkout@v2.5.0 + uses: actions/checkout@v3 if: ${{ !github.event.pull_request }} with: repository: vintagepc/MINI404.wiki.git @@ -105,7 +105,7 @@ jobs: steps: # # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Checkout ${{ github.event.pull_request.head.ref }} - uses: actions/checkout@v2.5.0 + uses: actions/checkout@v3 if: ${{ github.event.pull_request }} with: repository: ${{ github.repository }} @@ -113,7 +113,7 @@ jobs: submodules: true - name: Checkout ${{ github.event.ref }} - uses: actions/checkout@v2.5.0 + uses: actions/checkout@v3 if: ${{ !github.event.pull_request }} with: repository: ${{ github.repository }} @@ -147,8 +147,7 @@ jobs: build_msys: # The type of runner that the job will run on - runs-on: windows-2019 - if: "!contains(github.event.head_commit.message, 'NO_BUILD')" + runs-on: windows-latest steps: - name: Install MSYS2 uses: msys2/setup-msys2@v2 @@ -160,7 +159,7 @@ jobs: run: git config --global core.autocrlf false - name: Checkout ${{ github.event.pull_request.head.ref }} - uses: actions/checkout@v2.5.0 + uses: actions/checkout@v3 if: ${{ github.event.pull_request }} with: repository: ${{ github.repository }} @@ -168,7 +167,7 @@ jobs: submodules: false - name: Checkout ${{ github.event.ref }} - uses: actions/checkout@v2.5.0 + uses: actions/checkout@v3 if: ${{ !github.event.pull_request }} with: repository: ${{ github.repository }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 450872875c..6e40624f66 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -21,7 +21,7 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Checkout ${{ github.event.pull_request.head.ref }} - uses: actions/checkout@v2.5.0 + uses: actions/checkout@v3 if: ${{ github.event.pull_request }} with: repository: vintagepc/MINI404.git @@ -29,7 +29,7 @@ jobs: submodules: false - name: Checkout ${{ github.event.ref }} - uses: actions/checkout@v2.5.0 + uses: actions/checkout@v3 if: ${{ !github.event.pull_request }} with: repository: vintagepc/MINI404.git