name: Upload individual JAR on: workflow_call: inputs: jar_path: required: true type: string jobs: upload-individual-jar: runs-on: ubuntu-24.04 steps: # In order to run this for all jars, we have to call it individually for each jar, on a separate job. # Because dynamically running this workflow file requires a unique job run, we can't just grab the jars directly because they're already gone by then. # We have to do this because unzipped upload can only be ran on one file (arbitrary restrictions 💢) - name: Extract archive to retrieve artifact uses: actions/download-artifact@v8 with: name: ${{ github.repository_id }}-build-libs path: build/libs - name: Upload individual compilation artifact uses: actions/upload-artifact@v7 with: path: ${{ inputs.jar_path }} retention-days: 90 archive: false