Skip to content

Commit

Permalink
chore: add ci cache
Browse files Browse the repository at this point in the history
  • Loading branch information
rick-yao committed Nov 10, 2024
1 parent 782f395 commit 212aca3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,19 @@ jobs:
id: date
run: echo "DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV

- name: Cache SourceMod dependencies
uses: actions/cache@v4
with:
path: |
sourcemod-*
Multi-Colors
Left4DHooks
key: ${{ runner.os }}-sourcemod-${{ hashFiles('**/sourcemod-*.tar.gz') }}
restore-keys: |
${{ runner.os }}-sourcemod-
- name: Setup SourceMod
if: steps.cache.outputs.cache-hit != 'true'
run: |
wget https://sm.alliedmods.net/smdrop/1.11/sourcemod-1.11.0-git6968-linux.tar.gz
tar -xzf sourcemod-*.tar.gz
Expand Down

0 comments on commit 212aca3

Please sign in to comment.