-
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.
chore(ZCH-126): added caching for dotnet and node
- Loading branch information
1 parent
e9736c7
commit 73a085f
Showing
5 changed files
with
211 additions
and
164 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,10 @@ on: | |
required: false | ||
type: string | ||
default: "all" | ||
CACHE_SUFFIX: | ||
required: false | ||
type: string | ||
default: "" | ||
|
||
env: | ||
CHECK_DIR: ${{ inputs.WORKING_DIRECTORY }} | ||
|
@@ -96,10 +100,11 @@ jobs: | |
CSHARPIER_VERSION: ${{ inputs.CSHARPIER_VERSION }} | ||
|
||
- name: Build | ||
uses: zupit-it/pipeline-templates/.github/actions/dotnet/build@v1.23.2 | ||
uses: zupit-it/pipeline-templates/.github/actions/dotnet/build@ZCH-126/caching | ||
with: | ||
WORKING_DIRECTORY: ${{ inputs.WORKING_DIRECTORY }} | ||
BUILD_CONFIG: "Debug" | ||
CACHE_SUFFIX: ${{ inputs.CACHE_SUFFIX }} | ||
|
||
- name: Lint | ||
uses: zupit-it/pipeline-templates/.github/actions/dotnet/[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 |
---|---|---|
|
@@ -61,6 +61,10 @@ on: | |
required: false | ||
type: string | ||
default: "all" | ||
CACHE_SUFFIX: | ||
required: false | ||
type: string | ||
default: "" | ||
|
||
env: | ||
CHECK_DIR: ${{ inputs.WORKING_DIRECTORY }} | ||
|
@@ -102,8 +106,6 @@ jobs: | |
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install .NET | ||
uses: zupit-it/pipeline-templates/.github/actions/dotnet/[email protected] | ||
|
@@ -135,10 +137,11 @@ jobs: | |
"${params[@]}" | ||
- name: Build | ||
uses: zupit-it/pipeline-templates/.github/actions/dotnet/build@v1.23.2 | ||
uses: zupit-it/pipeline-templates/.github/actions/dotnet/build@ZCH-126/caching | ||
with: | ||
WORKING_DIRECTORY: ${{ inputs.WORKING_DIRECTORY }} | ||
BUILD_CONFIG: "Debug" | ||
CACHE_SUFFIX: ${{ inputs.CACHE_SUFFIX }} | ||
|
||
- name: Run tests | ||
uses: zupit-it/pipeline-templates/.github/actions/dotnet/[email protected] | ||
|
Oops, something went wrong.