From a04c5e9c93b6477ad90af8605af8a3089bff3b45 Mon Sep 17 00:00:00 2001 From: Kamesuta Date: Thu, 22 Sep 2022 22:37:53 +0900 Subject: [PATCH] remove build-number action --- .github/workflows/build.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 53e22cf..55a7c0f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,10 +15,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - name: Generate build number - uses: Team-Fruit/build-number@v2 - with: - token: ${{secrets.github_token}} - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: @@ -37,7 +33,7 @@ jobs: GH_TOKEN: ${{secrets.github_token}} run: | export TRAVIS_TAG=$(bash -c "if [[ ${GITHUB_REF} == refs/tags/* ]] ; then echo ${GITHUB_REF##*/} ; else echo ; fi") - export TRAVIS_BUILD_NUMBER=${BUILD_NUMBER} + export TRAVIS_BUILD_NUMBER=${GITHUB_RUN_NUMBER} chmod a+x ./gradlew ./gradlew clean setupCIWorkspace --continue ./gradlew build githubRelease curseforge publish --continue