Skip to content

Commit 2631ca1

Browse files
committed
Set the publishing repository to the original upstream repository.
1 parent 05021e7 commit 2631ca1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,20 @@ on:
1010
permissions:
1111
contents: write
1212

13-
if: github.repository_owner == 'arceos-hypervisor'
14-
1513
jobs:
1614
check:
15+
if: github.repository_owner == 'arceos-hypervisor'
16+
name: Check
1717
uses: ./.github/workflows/check.yml
1818

1919
test:
20+
if: github.repository_owner == 'arceos-hypervisor'
21+
name: Test
2022
uses: ./.github/workflows/test.yml
2123
needs: check
2224

2325
publish-crates:
26+
if: github.repository_owner == 'arceos-hypervisor'
2427
name: Publish to crates.io
2528
runs-on: ubuntu-latest
2629
needs: test
@@ -59,6 +62,7 @@ jobs:
5962
run: cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
6063

6164
create-release:
65+
if: github.repository_owner == 'arceos-hypervisor'
6266
name: Create GitHub Release
6367
runs-on: ubuntu-latest
6468
needs: publish-crates

0 commit comments

Comments
 (0)