Skip to content

Commit

Permalink
ci: test fetching artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
Fredrik Arvidsson committed Mar 23, 2021
1 parent 83f8b7b commit 42a9348
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ jobs:
run: npm run prettier-check
- name: Build
run: npm run build
- name: Test Fetching Artifact
run: node fetch_artifact.js
env:
GITHUB_ACTION_REPOSITORY: Fresa/release-notes-generator
GITHUB_ACTION_REF: v0
GITHUB_ACTION_PATH: $GITHUB_WORKSPACE
- name: Assert Artifact Downloaded
run: ls -d $PWD/lib/main.js
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0.9.7
with:
Expand Down Expand Up @@ -75,7 +83,6 @@ jobs:
tag_name: ${{ steps.release.outputs.tag }}
prerelease: ${{ steps.release.outputs.is_prerelease }}
files: lib/main.js
fail_on_unmatched_files: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update Latest Minor Tag
Expand Down

0 comments on commit 42a9348

Please sign in to comment.