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

View File

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