Skip to content

Commit

Permalink
attempt to fix broken tag finding by checking out the full history
Browse files Browse the repository at this point in the history
  • Loading branch information
david-waltermire committed Jan 30, 2022
1 parent 13dbcd8 commit ae4f200
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/website-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
path: ${{ env.OSCAL_HOME }}
submodules: recursive
token: ${{ secrets.COMMIT_TOKEN }}
fetch-depth: 0
- name: Get latest from repo
if: ${{ github.repository == env.HOME_REPO && github.ref == format('refs/heads/{0}',env.HOME_BRANCH) && github.event_name == 'push' }}
# This will ensure that any files committed by the previous job, will be updated
Expand All @@ -71,10 +72,6 @@ jobs:
with:
path: ${{ env.OSCAL_HOME }}
submodules: recursive
- name: Fetch tags
run: |
cd ${{ env.OSCAL_HOME }}
git pull --tags
# Setup runtime environment
# -------------------------
# Operating System packages
Expand Down

0 comments on commit ae4f200

Please sign in to comment.