Upgrade GHAs to drop save-state and set-output (#939)

This bumps actions/checkout to v3.1.0 and microsoft/setup-msbuild to
v1.1.3, which switch to environment files. See
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
for context and
https://github.com/actions/checkout/releases/tag/v3.1.0 and
https://github.com/microsoft/setup-msbuild/releases/tag/v1.1.3 for
details of the changes.

Signed-off-by: Stephen Kitt <steve@sk2.org>

Signed-off-by: Stephen Kitt <steve@sk2.org>
This commit is contained in:
Stephen Kitt 2022-10-13 11:26:37 +02:00 committed by GitHub
parent 6e46d46ffa
commit e3170edb96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out the repository - name: Check out the repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- name: Install GCC 9 and SDL2 - name: Install GCC 9 and SDL2
run: | run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo add-apt-repository ppa:ubuntu-toolchain-r/test
@ -28,7 +28,7 @@ jobs:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- name: Check out the repository - name: Check out the repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- name: Install SDL2 - name: Install SDL2
run: | run: |
curl https://www.libsdl.org/release/SDL2-2.0.10.tar.gz | tar xzf - curl https://www.libsdl.org/release/SDL2-2.0.10.tar.gz | tar xzf -
@ -50,9 +50,9 @@ jobs:
SDL2_version: 2.24.0 SDL2_version: 2.24.0
steps: steps:
- name: Check out the repository - name: Check out the repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- name: Set up MSBUILD - name: Set up MSBUILD
uses: microsoft/setup-msbuild@ab534842b4bdf384b8aaf93765dc6f721d9f5fab uses: microsoft/setup-msbuild@34cfbaee7f672c76950673338facd8a73f637506
- name: Install SDL2 - name: Install SDL2
shell: cmd shell: cmd
run: | run: |