diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d353ddc..0eac72b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: - uses: hecrj/setup-rust-action@v1 - run: cargo install --path xbuild --root . - run: mv bin/x xbuild-linux-x64 - - run: gh release upload $TAG xbuild-linux-x64 -R rust-mobile/xbuild + - run: gh release upload $TAG xbuild-linux-x64 -R ${{ github.repository }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAG: ${{ github.event.release.tag_name }} @@ -29,7 +29,7 @@ jobs: - uses: hecrj/setup-rust-action@v1 - run: cargo install --path xbuild --root . - run: mv bin/x xbuild-macos-x64 - - run: gh release upload $TAG xbuild-macos-x64 -R rust-mobile/xbuild + - run: gh release upload $TAG xbuild-macos-x64 -R ${{ github.repository }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAG: ${{ github.event.release.tag_name }} @@ -41,7 +41,7 @@ jobs: - uses: hecrj/setup-rust-action@v1 - run: cargo install --path xbuild --root . - run: mv bin/x.exe xbuild-windows-x64.exe - - run: gh release upload $TAG xbuild-windows-x64.exe -R rust-mobile/xbuild + - run: gh release upload $TAG xbuild-windows-x64.exe -R ${{ github.repository }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAG: ${{ github.event.release.tag_name }} diff --git a/.github/workflows/sdk.yml b/.github/workflows/sdk.yml index de775e9..55085ac 100644 --- a/.github/workflows/sdk.yml +++ b/.github/workflows/sdk.yml @@ -29,7 +29,7 @@ jobs: - run: echo "INPUT(-lunwind)" > Android.ndk/usr/lib/i686-linux-android/libgcc.a - run: tar --zstd -cf Android.ndk.tar.zst Android.ndk - - run: gh release upload $TAG Android.ndk.tar.zst -R rust-mobile/xbuild + - run: gh release upload $TAG Android.ndk.tar.zst -R ${{ github.repository }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAG: ${{ github.event.release.tag_name }} @@ -42,7 +42,7 @@ jobs: env: SDK_PATH: /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk - run: gtar --zstd -cf MacOSX.sdk.tar.zst MacOSX.sdk - - run: gh release upload $TAG MacOSX.sdk.tar.zst -R rust-mobile/xbuild + - run: gh release upload $TAG MacOSX.sdk.tar.zst -R ${{ github.repository }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAG: ${{ github.event.release.tag_name }} @@ -55,7 +55,7 @@ jobs: env: SDK_PATH: /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk - run: gtar --zstd -cf iPhoneOS.sdk.tar.zst iPhoneOS.sdk - - run: gh release upload $TAG iPhoneOS.sdk.tar.zst -R rust-mobile/xbuild + - run: gh release upload $TAG iPhoneOS.sdk.tar.zst -R ${{ github.repository }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAG: ${{ github.event.release.tag_name }} @@ -68,7 +68,7 @@ jobs: - run: cargo install xwin - run: xwin --accept-license splat --output Windows.sdk - run: tar --zstd -cf Windows.sdk.tar.zst Windows.sdk - - run: gh release upload $TAG Windows.sdk.tar.zst -R rust-mobile/xbuild + - run: gh release upload $TAG Windows.sdk.tar.zst -R ${{ github.repository }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAG: ${{ github.event.release.tag_name }}