mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-19 03:49:05 +00:00
cI: fix test publish
This commit is contained in:
1 parent
029275a7fc
commit
1420dfb862
1 file changed
+4
-12
@@ -33,18 +33,10 @@ jobs:
|
||||
- name: Build the mod
|
||||
run: ./gradlew build
|
||||
|
||||
- name: Run server for 1 minute
|
||||
run: |
|
||||
mkdir run
|
||||
echo "eula=true" > run/eula.txt
|
||||
timeout 60 ./gradlew runServer || true
|
||||
|
||||
- name: Test no crashes happend
|
||||
run: |
|
||||
chmod +x .github/scripts/test-no-crash-reports.sh
|
||||
.github/scripts/test-no-crash-reports.sh
|
||||
|
||||
- name: Publish package
|
||||
run: gradle publish -Pgroup=com.github."${GITHUB_REPOSITORY%/*}" -Pversion=0.0.1-publish-test
|
||||
run: ./gradlew publish -Pgroup=com.github."${GITHUB_REPOSITORY%/*}" -Pversion=0.0.1-publish-test
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user