Skip to content

Commit

Permalink
Use fetch-tags argument to actions/checkout (#24)
Browse files Browse the repository at this point in the history
Instead of running an additional git fetch call
  • Loading branch information
flaeppe committed Jan 6, 2024
1 parent b42d40f commit 94766a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/python-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
url: ${{ inputs.environment_url }}
steps:
- uses: actions/checkout@v4
- run: git fetch --tags
with:
fetch-tags: true
- uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/python-test-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: git fetch --tags
with:
fetch-tags: true
- uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
Expand Down

0 comments on commit 94766a9

Please sign in to comment.