move "Checkout Source Tree" to top of actions

This commit is contained in:
Neo 2023-07-09 09:08:37 -07:00
parent a6ca790d69
commit 69aa05a40f
2 changed files with 6 additions and 6 deletions

View File

@ -33,6 +33,9 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Source Tree
uses: actions/checkout@v3
- name: Setup build environment
run: |
sudo apt -y update
@ -62,9 +65,6 @@ jobs:
make && make install
popd
- name: Checkout Source Tree
uses: actions/checkout@v3
- name: Build
run: |
source ${{ github.workspace }}/djgpp/setenv

View File

@ -45,6 +45,9 @@ jobs:
msbuild-arch: x64
cmake-args: ""
steps:
- name: Checkout Source Tree
uses: actions/checkout@v3
- name: Install Windows XP Support for Visual Studio
uses: thepwrtank18/install-vs-components@v1.0.0
with:
@ -63,9 +66,6 @@ jobs:
$installerArgs = '/silent', '/sp-', '/suppressmsgboxes', "/DIR=`"$installDir`""
Start-Process -FilePath $installerPath -ArgumentList $installerArgs -Wait -PassThru
- name: Checkout Source Tree
uses: actions/checkout@v3
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1