Skip to content

Commit

Permalink
trying again, this time including hack for no-changes
Browse files Browse the repository at this point in the history
As I'd wondered about, the prerelease isn't cut is merging doesn't
require re-running the workflow (e.g. not out of date with the
base branch).
  • Loading branch information
geekosaur committed Oct 31, 2024
1 parent e32d0d8 commit 6bb1180
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ jobs:
prerelease-head:
name: Create a GitHub prerelease with the binary artifacts
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
if: "always() && github.ref == 'refs/heads/master'"
permissions:
contents: write

Expand All @@ -468,7 +468,7 @@ jobs:
name: Create a GitHub LTS prerelease with the binary artifacts
runs-on: ubuntu-latest
# The LTS branch is hardcoded for now, update it on a new LTS!
#if: github.ref == 'refs/heads/3.12'
if: "always() && contains(github.ref, '3.12')"
permissions:
contents: write

Expand Down

0 comments on commit 6bb1180

Please sign in to comment.