all: update Zig to version 0.12.0-dev.978+78855bd21 #428
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Draft release | |
on: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
draft: | |
if: ${{ !contains(github.event.head_commit.message, 'update to latest binary release') }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Create draft | |
run: gh release create "release-$(git rev-parse --short HEAD)" --title "Automatic release of main @ $(git rev-parse --short HEAD)" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |