Fix plugins not loading when a ZipFS has already been opened for the current Jar #1741
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: Publish Snapshot | |
| on: [push, pull_request] | |
| jobs: | |
| publish: | |
| if: ${{ github.repository_owner == 'Vineflower' && contains(github.ref_name, 'develop') }} | |
| runs-on: ubuntu-24.04 | |
| container: | |
| image: eclipse-temurin:17 | |
| options: --user root | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: gradle/actions/setup-gradle@v4 | |
| with: | |
| cache-read-only: false | |
| - run: ./gradlew publish --stacktrace | |
| env: | |
| STATUS: snapshot | |
| SIGNING_KEY: ${{ secrets.SIGNING_KEY }} | |
| SIGNING_KEY_PASSPHRASE: ${{ secrets.SIGNING_KEY_PASSPHRASE }} | |
| SONATYPE_USER: ${{ secrets.SONATYPE_USER }} | |
| SONATYPE_PASS: ${{ secrets.SONATYPE_PASS }} |