diff options
author | toofar <toofar@spalge.com> | 2023-11-14 19:02:37 +1300 |
---|---|---|
committer | toofar <toofar@spalge.com> | 2023-11-15 20:36:41 +1300 |
commit | dc072a7825b989d75772338baeb8b0d0d5d5ac6f (patch) | |
tree | bf56a14164643d9f7a508b6bf4b6612e2cd2c5dd | |
parent | 4227aba7bace9244049146c0a629e026afae832d (diff) | |
download | qutebrowser-dc072a7825b989d75772338baeb8b0d0d5d5ac6f.tar.gz qutebrowser-dc072a7825b989d75772338baeb8b0d0d5d5ac6f.zip |
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
-rw-r--r-- | .github/workflows/nightly.yml | 6 |
1 files changed, 0 insertions, 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 |