From 42a9348b93cc0d3ce37a7117dbe1cc8152a6ea5c Mon Sep 17 00:00:00 2001 From: Fredrik Arvidsson Date: Tue, 23 Mar 2021 23:35:06 +0100 Subject: [PATCH] ci: test fetching artifact --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef89f3e3..4fc9cd65 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -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