forked from angular-schule/ngx-deploy-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: simplify upload and download artifacts (#682)
- Loading branch information
Showing
6 changed files
with
11 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,11 @@ | ||
name: Download Builds | ||
description: Downloading the github artifact created with the build (dist folder) | ||
|
||
inputs: | ||
sha: | ||
description: 'SHA to use for the artifact name' | ||
required: false | ||
default: ${{ github.sha }} | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Download dist folder | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: library-dist-${{ inputs.sha }} | ||
name: library-dist | ||
path: dist |
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,17 +1,11 @@ | ||
name: Download Coverage Reports | ||
description: Download the github artifact created with the `test --coverage` | ||
|
||
inputs: | ||
sha: | ||
description: 'SHA to use for the artifact name' | ||
required: false | ||
default: ${{ github.sha }} | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Download coverage report | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: ngx-deploy-npm-coverage-report-${{ inputs.sha }} | ||
name: ngx-deploy-npm-coverage-report | ||
path: coverage/packages/ngx-deploy-npm |
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,17 +1,11 @@ | ||
name: Download Lint Reports | ||
description: Download the github artifact with the lint report | ||
|
||
inputs: | ||
sha: | ||
description: 'SHA to use for the artifact name' | ||
required: false | ||
default: ${{ github.sha }} | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Download lint report | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: lint-report-${{ inputs.sha }} | ||
name: lint-report | ||
path: reports |
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