Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
way-zer committed Jun 23, 2023
1 parent 5705e10 commit 6f7e4c6
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 483 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
run: |
cd ./base
git tag -f base
git am ../patches/*
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions"
git am --no-gpg-sign ../patches/*
- name: Create artifacts
run: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ jobs:
run: |
cd ./base
git tag -f base
git am ../patches/*
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions"
git am --no-gpg-sign ../patches/*
- name: Run unit tests and build JAR
run: cd ./base && ./gradlew test server:dist
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ jobs:
run: |
cd ./base
git tag -f base
git am ../patches/*
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions"
git am --no-gpg-sign ../patches/*
- name: Run unit tests
run: cd ./base && ./gradlew clean cleanTest test --stacktrace
6 changes: 5 additions & 1 deletion jitpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ before_install:
- source install-jdk.sh --feature 17
- jshell --version
install:
- rm -rf ./base
- git submodule update --init --recursive --depth 10
- cd ./base
- git tag -f base
- git am ../patches/*
- git config --global user.email "[email protected]"
- git config --global user.name "jitpack"
- git am --no-gpg-sign ../patches/*
- ./gradlew publishToMavenLocal
- echo -n > gradle.properties #zero out gradle.properties
Loading

0 comments on commit 6f7e4c6

Please sign in to comment.