Skip to content

Commit

Permalink
ci: use fetch-depth 0 to get the tag to include in the release
Browse files Browse the repository at this point in the history
  • Loading branch information
matteo-cristino authored and jaromil committed Oct 1, 2024
1 parent 32aef09 commit a25c645
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: install dependencies
run: |
sudo apt install -yq musl-tools musl-dev
Expand All @@ -80,8 +78,6 @@ jobs:
runs-on: "windows-latest"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: install dependencies
run: |
choco install --no-progress -r -y upx
Expand Down Expand Up @@ -124,7 +120,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
fetch-depth: 0
- name: Upload release docs artifacts
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -203,8 +199,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Remove tag
uses: dev-drprasad/[email protected]
with:
Expand Down

0 comments on commit a25c645

Please sign in to comment.