Skip to content

Commit

Permalink
Workaround actions/checkout@v2 Issue (#93)
Browse files Browse the repository at this point in the history
* Workaround actions/checkout#290
* More accurate CI step description

Signed-off-by: Mike Detwiler <mike@detwiler.io>
  • Loading branch information
detwiler authored Dec 30, 2020
1 parent e68e50d commit c40a691
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ jobs:
with:
fetch-depth: 0

# see: https://github.com/actions/checkout/issues/290
- name: Fetch Tags
run: git fetch --force --tags

- name: Install Prerequisites
run: build-aux/install-prereqs

Expand Down Expand Up @@ -69,10 +73,11 @@ jobs:
- name: Configure Version
run: echo "PROJECT_VERSION=`cat .version`" >>$GITHUB_ENV

- name: Upload Distribution Artifact
- name: Upload Distribution Artifacts
uses: actions/upload-artifact@v2
with:
name: distribution-tarball
name: distribution-artifacts
if-no-files-found: error
path: |
envconf-${{ env.PROJECT_VERSION }}.tar.gz
.version
Expand All @@ -84,10 +89,10 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')

steps:
- name: Download Distribution Artifact
- name: Download Distribution Artifacts
uses: actions/download-artifact@v2
with:
name: distribution-tarball
name: distribution-artifacts

- name: Configure Version
run: echo "PROJECT_VERSION=`cat .version`" >>$GITHUB_ENV
Expand Down

0 comments on commit c40a691

Please sign in to comment.