From d5b9387cd3f523106ffc128eb8386895bc61edf0 Mon Sep 17 00:00:00 2001 From: Hien To Date: Tue, 16 Jan 2024 17:10:09 +0700 Subject: [PATCH] update branch template CI --- .github/workflows/jan-electron-build-nightly.yml | 14 +++++++------- .../workflows/jan-electron-build-pre-release.yml | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/jan-electron-build-nightly.yml b/.github/workflows/jan-electron-build-nightly.yml index 926a5ff4cb..c7ceea5e64 100644 --- a/.github/workflows/jan-electron-build-nightly.yml +++ b/.github/workflows/jan-electron-build-nightly.yml @@ -8,18 +8,18 @@ on: jobs: delete-cloudflare-r2-folder: - uses: ./.github/workflows/templates/delete-cloudflare-r2-folder.yml@main + uses: ./.github/workflows/templates/delete-cloudflare-r2-folder.yml@feature/update-ci-follow-gitflow with: environment: production # Job create Update app version based on latest release tag with build number and save to output get-update-version: - uses: ./.github/workflows/templates/get-update-version.yml@main + uses: ./.github/workflows/templates/get-update-version.yml@feature/update-ci-follow-gitflow with: environment: production build-macos: - uses: ./.github/workflows/templates/build-macos.yml@main + uses: ./.github/workflows/templates/build-macos.yml@feature/update-ci-follow-gitflow with: environment: production ref: refs/heads/dev @@ -28,7 +28,7 @@ jobs: upload_cloudflare_r2: true build-windows-x64: - uses: ./.github/workflows/templates/build-windows-x64.yml@main + uses: ./.github/workflows/templates/build-windows-x64.yml@feature/update-ci-follow-gitflow with: environment: production ref: refs/heads/dev @@ -38,7 +38,7 @@ jobs: build-linux-x64: - uses: ./.github/workflows/templates/build-linux-x64.yml@main + uses: ./.github/workflows/templates/build-linux-x64.yml@feature/update-ci-follow-gitflow with: environment: production ref: refs/heads/dev @@ -49,7 +49,7 @@ jobs: noti-discord-nightly-and-update-url-readme: needs: [build-macos, build-windows-x64, build-linux-x64, delete-cloudflare-r2-folder, get-update-version] if: github.event_name == 'schedule' - uses: ./.github/workflows/templates/noti-discord-and-update-url-readme.yml@main + uses: ./.github/workflows/templates/noti-discord-and-update-url-readme.yml@feature/update-ci-follow-gitflow with: ref: refs/heads/dev build_reason: Nightly @@ -58,7 +58,7 @@ jobs: noti-discord-manual-and-update-url-readme: needs: [build-macos, build-windows-x64, build-linux-x64, delete-cloudflare-r2-folder, get-update-version] if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/dev' - uses: ./.github/workflows/templates/noti-discord-and-update-url-readme.yml@main + uses: ./.github/workflows/templates/noti-discord-and-update-url-readme.yml@feature/update-ci-follow-gitflow with: ref: refs/heads/dev build_reason: Manual diff --git a/.github/workflows/jan-electron-build-pre-release.yml b/.github/workflows/jan-electron-build-pre-release.yml index 46344437c3..c970237ee4 100644 --- a/.github/workflows/jan-electron-build-pre-release.yml +++ b/.github/workflows/jan-electron-build-pre-release.yml @@ -10,18 +10,18 @@ on: jobs: delete-cloudflare-r2-folder: - uses: ./.github/workflows/templates/delete-cloudflare-r2-folder.yml@main + uses: ./.github/workflows/templates/delete-cloudflare-r2-folder.yml@feature/update-ci-follow-gitflow with: environment: production # Job create Update app version based on latest release tag with build number and save to output get-update-version: - uses: ./.github/workflows/templates/get-update-version.yml@main + uses: ./.github/workflows/templates/get-update-version.yml@feature/update-ci-follow-gitflow with: environment: production build-macos: - uses: ./.github/workflows/templates/build-macos.yml@main + uses: ./.github/workflows/templates/build-macos.yml@feature/update-ci-follow-gitflow with: environment: production ref: refs/heads/main @@ -30,7 +30,7 @@ jobs: upload_cloudflare_r2: true build-windows-x64: - uses: ./.github/workflows/templates/build-windows-x64.yml@main + uses: ./.github/workflows/templates/build-windows-x64.yml@feature/update-ci-follow-gitflow with: environment: production ref: refs/heads/main @@ -40,7 +40,7 @@ jobs: build-linux-x64: - uses: ./.github/workflows/templates/build-linux-x64.yml@main + uses: ./.github/workflows/templates/build-linux-x64.yml@feature/update-ci-follow-gitflow with: environment: production ref: refs/heads/main @@ -51,7 +51,7 @@ jobs: noti-discord-nightly-and-update-url-readme: needs: [build-macos, build-windows-x64, build-linux-x64, delete-cloudflare-r2-folder, get-update-version] if: github.event_name == 'push' - uses: ./.github/workflows/templates/noti-discord-and-update-url-readme.yml@main + uses: ./.github/workflows/templates/noti-discord-and-update-url-readme.yml@feature/update-ci-follow-gitflow with: ref: refs/heads/main build_reason: Nightly @@ -60,7 +60,7 @@ jobs: noti-discord-manual-and-update-url-readme: needs: [build-macos, build-windows-x64, build-linux-x64, delete-cloudflare-r2-folder, get-update-version] if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' - uses: ./.github/workflows/templates/noti-discord-and-update-url-readme.yml@main + uses: ./.github/workflows/templates/noti-discord-and-update-url-readme.yml@feature/update-ci-follow-gitflow with: ref: refs/heads/main build_reason: Manual