Skip to content

Commit b71d6fa

Browse files
committed
CI: Generalize repository name
1 parent 58eb125 commit b71d6fa

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: hecrj/setup-rust-action@v1
1818
- run: cargo install --path xbuild --root .
1919
- run: mv bin/x xbuild-linux-x64
20-
- run: gh release upload $TAG xbuild-linux-x64 -R rust-mobile/xbuild
20+
- run: gh release upload $TAG xbuild-linux-x64 -R ${{ github.repository }}
2121
env:
2222
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2323
TAG: ${{ github.event.release.tag_name }}
@@ -29,7 +29,7 @@ jobs:
2929
- uses: hecrj/setup-rust-action@v1
3030
- run: cargo install --path xbuild --root .
3131
- run: mv bin/x xbuild-macos-x64
32-
- run: gh release upload $TAG xbuild-macos-x64 -R rust-mobile/xbuild
32+
- run: gh release upload $TAG xbuild-macos-x64 -R ${{ github.repository }}
3333
env:
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3535
TAG: ${{ github.event.release.tag_name }}
@@ -41,7 +41,7 @@ jobs:
4141
- uses: hecrj/setup-rust-action@v1
4242
- run: cargo install --path xbuild --root .
4343
- run: mv bin/x.exe xbuild-windows-x64.exe
44-
- run: gh release upload $TAG xbuild-windows-x64.exe -R rust-mobile/xbuild
44+
- run: gh release upload $TAG xbuild-windows-x64.exe -R ${{ github.repository }}
4545
env:
4646
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4747
TAG: ${{ github.event.release.tag_name }}

.github/workflows/sdk.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- run: echo "INPUT(-lunwind)" > Android.ndk/usr/lib/i686-linux-android/libgcc.a
3030

3131
- run: tar --zstd -cf Android.ndk.tar.zst Android.ndk
32-
- run: gh release upload $TAG Android.ndk.tar.zst -R rust-mobile/xbuild
32+
- run: gh release upload $TAG Android.ndk.tar.zst -R ${{ github.repository }}
3333
env:
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3535
TAG: ${{ github.event.release.tag_name }}
@@ -42,7 +42,7 @@ jobs:
4242
env:
4343
SDK_PATH: /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
4444
- run: gtar --zstd -cf MacOSX.sdk.tar.zst MacOSX.sdk
45-
- run: gh release upload $TAG MacOSX.sdk.tar.zst -R rust-mobile/xbuild
45+
- run: gh release upload $TAG MacOSX.sdk.tar.zst -R ${{ github.repository }}
4646
env:
4747
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4848
TAG: ${{ github.event.release.tag_name }}
@@ -55,7 +55,7 @@ jobs:
5555
env:
5656
SDK_PATH: /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
5757
- run: gtar --zstd -cf iPhoneOS.sdk.tar.zst iPhoneOS.sdk
58-
- run: gh release upload $TAG iPhoneOS.sdk.tar.zst -R rust-mobile/xbuild
58+
- run: gh release upload $TAG iPhoneOS.sdk.tar.zst -R ${{ github.repository }}
5959
env:
6060
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6161
TAG: ${{ github.event.release.tag_name }}
@@ -68,7 +68,7 @@ jobs:
6868
- run: cargo install xwin
6969
- run: xwin --accept-license splat --output Windows.sdk
7070
- run: tar --zstd -cf Windows.sdk.tar.zst Windows.sdk
71-
- run: gh release upload $TAG Windows.sdk.tar.zst -R rust-mobile/xbuild
71+
- run: gh release upload $TAG Windows.sdk.tar.zst -R ${{ github.repository }}
7272
env:
7373
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7474
TAG: ${{ github.event.release.tag_name }}

0 commit comments

Comments
 (0)