-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated build to enable caching (#946)
- Loading branch information
1 parent
578fcdb
commit ba0a36e
Showing
7 changed files
with
53 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,10 @@ on: | |
- 'package-lock.json' | ||
- 'package.json' | ||
- 'Readme.md' | ||
- '.github/dependabot.yml' | ||
- '.github/labels.yml' | ||
- '.github/release.yml' | ||
- '.github/renovate.json' | ||
pull_request: | ||
branches: | ||
- 'master' | ||
|
@@ -59,9 +63,15 @@ on: | |
- 'package-lock.json' | ||
- 'package.json' | ||
- 'Readme.md' | ||
- '.github/dependabot.yml' | ||
- '.github/labels.yml' | ||
- '.github/release.yml' | ||
- '.github/renovate.json' | ||
|
||
jobs: | ||
Build: | ||
env: | ||
NUGET_PACKAGES: '${{ github.workspace }}/.nuget/packages' | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
|
@@ -76,10 +86,13 @@ jobs: | |
- name: Fetch all history for all tags and branches | ||
run: | | ||
git fetch --prune | ||
- name: 🔨 Use .NET Core 2.1 SDK | ||
uses: actions/[email protected] | ||
- name: NuGet Cache | ||
uses: actions/cache@v2 | ||
with: | ||
dotnet-version: '2.1.x' | ||
path: '${{ github.workspace }}/.nuget/packages' | ||
key: "${{ runner.os }}-nuget-${{ hashFiles('**/Directory.Packages.props') }}-${{ hashFiles('**/Directory.Packages.support.props') }}" | ||
restore-keys: | | ||
${{ runner.os }}-nuget- | ||
- name: 🔨 Use .NET Core 3.1 SDK | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -134,7 +147,7 @@ jobs: | |
Publish: | ||
needs: | ||
- Build | ||
uses: RocketSurgeonsGuild/actions/.github/workflows/[email protected] | ||
secrets: | ||
RSG_NUGET_API_KEY: '${{ secrets.RSG_NUGET_API_KEY }}' | ||
RSG_AZURE_DEVOPS: '${{ secrets.RSG_AZURE_DEVOPS }}' | ||
uses: RocketSurgeonsGuild/actions/.github/workflows/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
azure-pipelines.nuke.yml | ||
.github/workflows/ci.yml | ||
.github/workflows/ci-ignore.yml | ||
.nuke/build.schema.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters