Skip to content

Commit

Permalink
Make 'actions/checkout' fetch latest of anything, git submodules, tag…
Browse files Browse the repository at this point in the history
…s, and commits
  • Loading branch information
og-mrk committed Jul 28, 2024
1 parent 2d95b12 commit 11658a6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/createchangelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v4
# Make sure to get latest commits, like the one committed by the previous job in jobs list.
# reference: https://github.com/orgs/community/discussions/110853
with:
fetch-tags: 'true'
submodules: 'recursive'
ref: ${{ github.ref_name }}

- name: Get all releases and update changelog.md file
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/github-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
# Make sure to get latest commits, like the one committed by the previous job in jobs list.
# reference: https://github.com/orgs/community/discussions/110853
with:
fetch-tags: 'true'
submodules: 'recursive'
ref: ${{ github.ref_name }}

- name: Setup Python
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/pre-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v4
# Make sure to get latest commits, like the one committed by the previous job in jobs list.
# reference: https://github.com/orgs/community/discussions/110853
with:
fetch-tags: 'true'
submodules: 'recursive'
ref: ${{ github.ref_name }}

- name: Extract Version from winutil.ps1
id: extract_version
Expand Down

0 comments on commit 11658a6

Please sign in to comment.