Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
way-zer committed Sep 17, 2024
1 parent d6993f7 commit f4017ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,18 @@ jobs:
build-scan-terms-of-use-agree: "yes"
- name: Set env
run: |
git config --global user.email "[email protected]"
git config --global user.name "github_actions"
echo "RELEASE_TAG=${GITHUB_REF_NAME}-build" >> $GITHUB_ENV
echo "RELEASE_TAG=${GITHUB_REF_NAME}-build"
echo "RELEASE_VERSION=$(date +'%Y.%m.%d').X${GITHUB_RUN_NUMBER}-${GITHUB_REF_NAME}" >> $GITHUB_ENV
echo "${{ secrets.KEYSTORE_BASE64 }}" | openssl enc -d -base64 -in - -out ../bekeystore.jks
echo "${{ secrets.KEYSTORE_BASE64 }}" | openssl enc -d -base64 -in - -out bekeystore.jks
- name: Build
run: |
git submodule update --init --depth=10
cd work
../scripts/applyPatches
../scripts/applyPatches.sh
gradle desktop:dist server:dist -Pbuildversion=${RELEASE_VERSION}
cd ..
Expand Down
2 changes: 1 addition & 1 deletion jitpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ install:
# - cd work/ && git fetch origin v145.1 && git reset --hard FETCH_HEAD && cd ..
- git config --global user.email "[email protected]"
- git config --global user.name "jitpack"
- sh ./scripts/applyPatches.sh && cd work/
- cd work/ && sh ../scripts/applyPatches.sh
- ./gradlew publishToMavenLocal
- echo -n > gradle.properties #zero out gradle.properties

0 comments on commit f4017ec

Please sign in to comment.