mirror of
https://github.com/LeavesMC/Leaves.git
synced 2025-12-26 10:29:15 +00:00
fetch all history for all branches and tags
This commit is contained in:
6
.github/workflows/leaves.yml
vendored
6
.github/workflows/leaves.yml
vendored
@@ -17,7 +17,10 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Get repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
@@ -40,7 +43,6 @@ jobs:
|
||||
mv build/libs/Leaves-paperclip-1.19.2-R0.1-SNAPSHOT-reobf.jar leaves-1.19.2.jar
|
||||
echo "name=Leaves-`git rev-parse --short HEAD`" >> $GITHUB_ENV
|
||||
echo "tag=1.19.2-`git rev-parse --short HEAD`" >> $GITHUB_ENV
|
||||
git fetch --tags
|
||||
sh scripts/GetReleaseInfo.sh
|
||||
- name: Create Release
|
||||
uses: ncipollo/release-action@v1
|
||||
|
||||
Reference in New Issue
Block a user