Skip to content

Commit

Permalink
🐛 Fail-fast When Artifact Upload Fails
Browse files Browse the repository at this point in the history
  • Loading branch information
brucificus committed Aug 29, 2023
1 parent 37bc2d4 commit 2ef7ff3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
with:
name: version.json
path: ./version/version.json
if-no-files-found: error
- name: Unzip release-notes.md
shell: pwsh
run: Expand-Archive -Path "release-notes.md.zip" -DestinationPath ./release-notes/
Expand All @@ -56,6 +57,7 @@ jobs:
with:
name: release-notes.md
path: ./release-notes/release-notes.md
if-no-files-found: error

publish-github-release:
name: Publish GitHub Release
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
with:
name: version.json
path: ./out/version.json
if-no-files-found: error

create-releasenotes:
name: Create Release Notes
Expand Down Expand Up @@ -88,6 +89,7 @@ jobs:
with:
name: release-notes.md
path: ./out/release-notes.md
if-no-files-found: error

test-changes:
name: Test Changes
Expand Down
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ runs:
with:
name: ${{ inputs.versionfile-artifact-name }}
path: ${{ inputs.versionfile-name }}
if-no-files-found: error
- name: "Get artifact: ${{ inputs.versionfile-artifact-name }}"
if: inputs.mode == 'download'
uses: actions/download-artifact@v3
Expand Down

0 comments on commit 2ef7ff3

Please sign in to comment.