From dc072a7825b989d75772338baeb8b0d0d5d5ac6f Mon Sep 17 00:00:00 2001 From: toofar Date: Tue, 14 Nov 2023 19:02:37 +1300 Subject: Allow running nightly builds on any branch The nightly jobs have a `workflow_dispatch` action, which means you can kick the job off on any branch. But the build steps has the branch to build on hardcoded. I would like to be able to build windows and mac builds without having a local build environment setup. The docs for the checkout action says it default to the main branch, so the scheduled actions should keep working fine. But now we'll be able to create builds off of other branches too. docs: https://github.com/actions/checkout#usage ref: https://github.com/qutebrowser/qutebrowser/issues/7989 --- .github/workflows/nightly.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 76332e8ba..433cd3c0b 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -15,24 +15,19 @@ jobs: matrix: include: - os: macos-11 - branch: main toxenv: build-release-qt5 name: qt5-macos - os: windows-2019 - branch: main toxenv: build-release-qt5 name: qt5-windows - os: macos-11 args: --debug - branch: main toxenv: build-release-qt5 name: qt5-macos-debug - os: windows-2019 args: --debug - branch: main toxenv: build-release-qt5 name: qt5-windows-debug - - os: macos-11 toxenv: build-release name: macos @@ -52,7 +47,6 @@ jobs: steps: - uses: actions/checkout@v4 with: - ref: "${{ matrix.branch }}" persist-credentials: false - name: Set up Python uses: actions/setup-python@v4 -- cgit v1.2.3-54-g00ecf