Skip to content

Fix make archive command #7

Fix make archive command

Fix make archive command #7

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
ref:
description: 'Ref to build (branch, tag or SHA)'
required: false
default: 'master'
push:
tags:
- '*'
jobs:
release:
runs-on: macos-15
permissions: write-all
steps:
- uses: actions/checkout@v4
- name: Create achrive
run: make build
- name: Upload Release
uses: actions/upload-artifact@v4
with:
name: prefire.tar.gz
path: "~/prefire.tar.gz"
update-homebrew:
needs: release
runs-on: macos-15
permissions: write-all
steps:
- name: upgrade-brew-tap
uses: mislav/bump-homebrew-formula-action@v3
with:
formula-name: prefire
homebrew-tap: barredewe/homebrew-tap
tag-name: ${{ github.event.inputs.tag-name }}
env:
COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}