From 2e2f283bae0a71ed707b0951a16bac8ca82c2a6f Mon Sep 17 00:00:00 2001 From: Atralupus Date: Mon, 10 Jul 2023 17:39:24 +0900 Subject: [PATCH 1/2] ci: Apply auto find options --- .github/workflows/main.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a2f648fec0..01959b674e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -96,15 +96,6 @@ jobs: fi env: WEB_FLOW_KEY_URL: https://github.com/web-flow.gpg - - name: Update other repos referring lib9c as submodules - uses: planetarium/submodule-updater@main - with: - token: ${{ secrets.SUBMODULE_UPDATER_GH_TOKEN }} - committer: > - Submodule Updater - targets: | - ${{ github.repository_owner }}/NineChronicles:rc-${{ github.ref_name }}? - ${{ github.repository_owner }}/NineChronicles.Headless:rc-${{ github.ref_name }}? - name: Setup .NET Core uses: actions/setup-dotnet@v3 with: @@ -121,7 +112,7 @@ jobs: destination_dir: ${{ github.ref_name }} update-submodule: - if: ${{ (github.ref_type == 'branch' && startsWith(github.ref_name, 'rc-v')) || github.ref_type == 'branch' && startsWith(github.ref_name, 'release/') }} + if: github.ref_type == 'branch' && startsWith(github.ref_name, 'release/') }} runs-on: ubuntu-latest steps: - name: Update other repos referring lib9c as submodules @@ -131,5 +122,5 @@ jobs: committer: > Submodule Updater targets: | - ${{ github.repository_owner }}/NineChronicles:${{ github.ref_name }}? - ${{ github.repository_owner }}/NineChronicles.Headless:${{ github.ref_name }}? + ${{ github.repository_owner }}/NineChronicles:refs/heads/release/* + ${{ github.repository_owner }}/NineChronicles.Headless:refs/heads/release/* From 1614fa19fbd3bf610f828cced12688254437ad1b Mon Sep 17 00:00:00 2001 From: Atralupus Date: Mon, 10 Jul 2023 17:41:40 +0900 Subject: [PATCH 2/2] fix typo --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 01959b674e..9ebbf13ae7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -112,7 +112,7 @@ jobs: destination_dir: ${{ github.ref_name }} update-submodule: - if: github.ref_type == 'branch' && startsWith(github.ref_name, 'release/') }} + if: github.ref_type == 'branch' && startsWith(github.ref_name, 'release/') runs-on: ubuntu-latest steps: - name: Update other repos referring lib9c as submodules