Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ on:
tags:
- "[0-9]+.*"
pull_request:
paths:
- .github/workflows/release.yml
- scripts/release.py
- xtask/**
- tui/**
workflow_dispatch:

permissions:
Expand Down Expand Up @@ -126,9 +121,22 @@ jobs:
python3 xtask/tests/smoke_install.py "$(brew --prefix devdotfast/tap/diffr)"
brew uninstall devdotfast/tap/diffr

packaging:
name: Release packaging
if: always()
needs: [build, prepare, homebrew]
runs-on: ubuntu-22.04
steps:
- name: Require all packaging checks to pass
env:
BUILD: ${{ needs.build.result }}
PREPARE: ${{ needs.prepare.result }}
HOMEBREW: ${{ needs.homebrew.result }}
run: test "$BUILD" = success && test "$PREPARE" = success && test "$HOMEBREW" = success

publish:
if: github.event_name == 'push' && github.ref_type == 'tag'
needs: homebrew
needs: packaging
permissions:
contents: write
runs-on: ubuntu-22.04
Expand Down
Loading