Skip to content

Commit

Permalink
try to fix LTS prerelease workflow
Browse files Browse the repository at this point in the history
It's being skipped, not failing to fire, implying the wrong ref?
This subsumes #10415.
  • Loading branch information
geekosaur committed Oct 5, 2024
1 parent b1e842d commit 2817c83
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ on:
- "release-notes/**"
branches:
- master
# hardcoded LTS branch, change when new LTS released!
- '3.12'
pull_request:
paths-ignore:
- "doc/**"
Expand Down Expand Up @@ -478,10 +480,12 @@ jobs:
files: binaries/cabal-*

prerelease-lts:
name: Create a GitHub LTS prerelease with the binary artifacts
name: Create a GitHub LTS prerelease with the binary artifacts ${{ github.ref }}
runs-on: ubuntu-latest
# The LTS branch is hardcoded for now, update it on a new LTS!
if: github.ref == 'refs/heads/3.12'
permissions:
contents: write

# IMPORTANT! Any job added to the workflow should be added here too
needs: [validate, validate-old-ghcs, build-alpine, dogfooding]
Expand Down

0 comments on commit 2817c83

Please sign in to comment.