Skip to content

Commit

Permalink
Fix [GH]: Mark the git repo as safe
Browse files Browse the repository at this point in the history
  • Loading branch information
spnda committed Apr 30, 2022
1 parent dd40183 commit 9ec73a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,4 @@ jobs:
- name: Ensure gradlew.sh is executable
run: chmod +x gradlew
- name: Build project
run: ./gradlew build
- uses: actions/upload-artifact@v3
with:
name: Artifacts
path: |
**/build/libs/[a-z0-9]-all.jar
!common/**
run: ./gradlew compileJava
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: actions/checkout marks the directory as safe, but its not picked up by fabric-action-scripts.
run: git config --global --add safe.directory /__w/BlockProt/BlockProt
- uses: FabricMC/fabric-action-scripts@v1
id: changelog
with:
Expand Down
7 changes: 0 additions & 7 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
# Thanks to https://github.com/diffplug/spotless/issues/834#issuecomment-815098368
# org.gradle.jvmargs=--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
# --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
# --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
# --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
# --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED

blockProtVersion=1.0.7
nbtApiVersion=2.9.2
townyVersion=0.97.0.0
Expand Down

0 comments on commit 9ec73a1

Please sign in to comment.