diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 88f0b7a..6f25717 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,7 +58,7 @@ jobs: git push -u origin release/$VERSION env: VERSION: ${{ steps.extract_version.outputs.version }} - REPO: ${{ github.repository }} + REPO: https://github.com/${{ github.repository }} - name: Upload artifacts uses: actions/upload-artifact@v4 diff --git a/.gitignore b/.gitignore index f811aac..78f2d87 100644 --- a/.gitignore +++ b/.gitignore @@ -39,6 +39,7 @@ playground.xcworkspace # ignore distribution files dist/ +artifacts/ # ignore swift package manager files .swiftpm/ diff --git a/.scripts/package.sh b/.scripts/package.sh index e6c470e..e2cdf73 100755 --- a/.scripts/package.sh +++ b/.scripts/package.sh @@ -311,6 +311,7 @@ if [ -f $package ]; then rm -f "$package"; fi # Move generated files into the repo directory mv "$scratch/$sources" "$sources" mv "$scratch/$package" "$package" -mv "$scratch/$distribution" ../artifacts +mkdir artifacts +mv -v $scratch/$distribution/*.xcframework.zip artifacts/ echo "Done."