mirror of
https://github.com/agresdominik/cheat_sheet.git
synced 2026-07-21 16:10:54 +00:00
fix to go to clipboard, release workflow
This commit is contained in:
@@ -8,7 +8,7 @@ name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
branches: ['**'] # CI on every branch
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
|
||||
@@ -92,9 +92,9 @@ jobs:
|
||||
|
||||
- name: Patch cheatsh formula
|
||||
run: |
|
||||
# version is inferred by Homebrew from the URL tag, so only url + sha256 are patched.
|
||||
FORMULA="tap/Formula/cheatsh.rb"
|
||||
sed -i "s|url .*|url \"${{ steps.sha.outputs.url }}\"|" "$FORMULA"
|
||||
sed -i "s|version .*|version \"${{ inputs.version }}\"|" "$FORMULA"
|
||||
sed -i "s|sha256 .*|sha256 \"${{ steps.sha.outputs.sha }}\"|" "$FORMULA"
|
||||
|
||||
- name: Commit and push tap update
|
||||
|
||||
Reference in New Issue
Block a user