Skip to content

Commit

Permalink
CI: Generalize repository name
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 committed Jan 3, 2025
1 parent 58eb125 commit b71d6fa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
8 changes: 4 additions & 4 deletions .github/workflows/sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}

0 comments on commit b71d6fa

Please sign in to comment.