Skip to content

Commit

Permalink
not again workflow :(
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysdh540 committed Mar 9, 2024
1 parent 7c384b0 commit 1e02a6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ jobs:
cache-read-only: false

- name: do the build
run: .\gradlew.bat clean assemble squishJar
run: .\gradlew.bat assemble

- name: squishy
run: .\gradlew.bat squishJar

- name: upload artifacts
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/java/JarPostProcessorPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ private static int getBootstrapInsnIndex(MethodNode node) {
if(!(node.instructions.get(i + 3) instanceof InsnNode)) continue;
AbstractInsnNode insn = node.instructions.get(i + 2);
if(insn instanceof MethodInsnNode methodInsn) {
//target
//target static { IBootstrap.dasBoot(); }
if(methodInsn.name.equals("dasBoot") && methodInsn.owner.equals("manifold/rt/api/IBootstrap")
&& methodInsn.desc.equals("()Z") && methodInsn.getOpcode() == Opcodes.INVOKESTATIC) {
return i;
Expand Down

0 comments on commit 1e02a6f

Please sign in to comment.