diff --git a/.forgejo/workflows/publish-rc.yml b/.forgejo/workflows/publish-rc.yml index 77ad08890..0f77ec57c 100644 --- a/.forgejo/workflows/publish-rc.yml +++ b/.forgejo/workflows/publish-rc.yml @@ -126,29 +126,6 @@ jobs: echo "version=$version" >> $GITHUB_OUTPUT - - name: Build modpack - run: | - temp_dir="RC-${{ matrix.platform }}-${{ matrix.loader }}-${{ matrix.version }}-temp" - - mkdir $temp_dir - cp -r ./modpacks/re-console-plus/${{ matrix.folder }}/yarn/${{ matrix.version }}/* ./$temp_dir/ - cp ./LICENSE ./$temp_dir/ - cp ./README.md ./$temp_dir/ - cd ./$temp_dir/ - packwiz refresh - mkdir -p ../$OUTPUT - packwiz ${{ matrix.platform }} export --output ../${OUTPUT}/${PACK_NAME}-${{ matrix.version }}-${{ matrix.loader }}-${{ steps.version.outputs.version }}-${{ matrix.platform }}.${{ matrix.file_ext }} - - - name: Save artifacts to runner temp - run: | - echo "test" - ls -la ${{ env.OUTPUT }}/ || echo "test failed" - echo "test 2 ${{ env.ARTIFACT_DIR }}" - mkdir -p ${{ env.ARTIFACT_DIR }} - cp ${{ env.OUTPUT }}/* ${{ env.ARTIFACT_DIR }}/ - echo "test 3" - ls -la ${{ env.ARTIFACT_DIR }}/ - - name: Build modpack run: | temp_dir="RC-${{ matrix.platform }}-${{ matrix.loader }}-${{ matrix.version }}-temp" @@ -208,4 +185,4 @@ jobs: -H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \ -H "Content-Type: application/octet-stream" \ --data-binary @"$file" \ - "${{ github.server_url }}/api/v1/repos/${{ github.repository }}/releases/${release_id}/assets?name=$(basename $file)" + "${{ github.server_url }}/api/v1/repos/${{ github.repository }}/releases/${release_id}/assets?name=$(basename $file)" \ No newline at end of file