Skip to content

Commit

Permalink
Use sparse-checkout for addon files
Browse files Browse the repository at this point in the history
  • Loading branch information
veteran29 committed Dec 29, 2024
1 parent c6be8be commit e8b5bc0
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/workbench.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- name: Steam Client Login
run: |
C:\Steam\steam.exe -silent -login ${env:STEAM_USERNAME} ${env:STEAM_PASSWORD}
Start-Process "C:\Steam\steam.exe" -ArgumentList "-silent -login ${env:STEAM_USERNAME} ${env:STEAM_PASSWORD}"
${{ github.workspace }}\Upstream\tools\steam-check.exe
env:
STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }}
Expand All @@ -43,12 +43,16 @@ jobs:
if: ${{ github.event_name != 'pull_request_target' }}
with:
path: Source
sparse-checkout: |
addons
- name: Checkout pull request
if: ${{ github.event_name == 'pull_request_target' }}
uses: actions/checkout@v4
with:
path: Source
ref: 'refs/pull/${{ github.event.number }}/merge'
sparse-checkout: |
addons
- name: Workbench build
run: >
Expand Down Expand Up @@ -102,7 +106,7 @@ jobs:

- name: Steam Client Login
run: |
C:\Steam\steam.exe -silent -login ${env:STEAM_USERNAME} ${env:STEAM_PASSWORD}
Start-Process "C:\Steam\steam.exe" -ArgumentList "-silent -login ${env:STEAM_USERNAME} ${env:STEAM_PASSWORD}"
${{ github.workspace }}\Upstream\tools\steam-check.exe
env:
STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }}
Expand All @@ -113,12 +117,16 @@ jobs:
if: ${{ github.event_name != 'pull_request_target' }}
with:
path: Source
sparse-checkout: |
addons
- name: Checkout pull request
if: ${{ github.event_name == 'pull_request_target' }}
uses: actions/checkout@v4
with:
path: Source
ref: 'refs/pull/${{ github.event.number }}/merge'
sparse-checkout: |
addons
- name: Experimental build
run: >
Expand Down

0 comments on commit e8b5bc0

Please sign in to comment.