Skip to content

Commit

Permalink
Merge pull request #38 from david-poindexter/disable-build-cache
Browse files Browse the repository at this point in the history
Disabled build cache to increase CI build times
  • Loading branch information
valadas authored Oct 3, 2024
2 parents 0f0936e + 5088d8e commit 29caed2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,6 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 'Cache: .nuke/temp, ~/.nuget/packages'
uses: actions/cache@v3
with:
path: |
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }}
- name: 'Run: Deploy'
run: ./build.cmd Deploy
env:
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/PR_Validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,5 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 'Cache: .nuke/temp, ~/.nuget/packages'
uses: actions/cache@v3
with:
path: |
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }}
- name: 'Run: Compile'
run: ./build.cmd Compile
6 changes: 4 additions & 2 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,17 @@
GitHubActionsImage.UbuntuLatest,
OnPullRequestBranches = new[] { "main", "develop", "release/*" },
InvokedTargets = new[] { nameof(Compile) },
FetchDepth = 0
FetchDepth = 0,
CacheKeyFiles = new string[] {}
)]
[GitHubActions(
"Deploy",
GitHubActionsImage.UbuntuLatest,
ImportSecrets = new[] { nameof(GitHubToken), "GITHUB_TOKEN", nameof(NpmToken), "NPM_TOKEN" },
OnPushBranches = new[] { "main", "release/*" },
InvokedTargets = new[] { nameof(Deploy) },
FetchDepth = 0
FetchDepth = 0,
CacheKeyFiles = new string[] {}
)]
class Build : NukeBuild
{
Expand Down

0 comments on commit 29caed2

Please sign in to comment.