mirror of
https://github.com/agresdominik/cheat_sheet.git
synced 2026-04-22 02:15:50 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 74304b926d | |||
| 3c5ae1ef2f |
@@ -83,25 +83,25 @@ jobs:
|
|||||||
echo "Tarball URL : $URL"
|
echo "Tarball URL : $URL"
|
||||||
echo "SHA256 : $SHA"
|
echo "SHA256 : $SHA"
|
||||||
|
|
||||||
# - name: Checkout homebrew tap
|
- name: Checkout homebrew tap
|
||||||
# uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
# with:
|
with:
|
||||||
# repository: TODO_GITHUB_USER/homebrew-myapps # TODO: your tap repo
|
repository: agresdominik/repo
|
||||||
# token: ${{ secrets.TAP_GITHUB_TOKEN }}
|
token: ${{ secrets.TAP_GITHUB_TOKEN }}
|
||||||
# path: tap
|
path: tap
|
||||||
|
|
||||||
#- name: Patch cheatsh formula
|
- name: Patch cheatsh formula
|
||||||
# run: |
|
run: |
|
||||||
# FORMULA="tap/Formula/cheatsh.rb"
|
FORMULA="tap/Formula/cheatsh.rb"
|
||||||
# sed -i "s|url .*|url \"${{ steps.sha.outputs.url }}\"|" "$FORMULA"
|
sed -i "s|url .*|url \"${{ steps.sha.outputs.url }}\"|" "$FORMULA"
|
||||||
# sed -i "s|version .*|version \"${{ inputs.version }}\"|" "$FORMULA"
|
sed -i "s|version .*|version \"${{ inputs.version }}\"|" "$FORMULA"
|
||||||
# sed -i "s|sha256 .*|sha256 \"${{ steps.sha.outputs.sha }}\"|" "$FORMULA"
|
sed -i "s|sha256 .*|sha256 \"${{ steps.sha.outputs.sha }}\"|" "$FORMULA"
|
||||||
|
|
||||||
#- name: Commit and push tap update
|
- name: Commit and push tap update
|
||||||
# run: |
|
run: |
|
||||||
# cd tap
|
cd tap
|
||||||
# git config user.name "github-actions[bot]"
|
git config user.name "github-actions[bot]"
|
||||||
# git config user.email "github-actions[bot]@users.noreply.github.com"
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
# git diff --quiet && echo "Formula already up to date." && exit 0
|
git diff --quiet && echo "Formula already up to date." && exit 0
|
||||||
# git commit -am "formula: bump cheatsh to v${{ inputs.version }}"
|
git commit -am "chore: bump cheatsh to v${{ inputs.version }}"
|
||||||
# git push
|
git push
|
||||||
|
|||||||
@@ -223,6 +223,10 @@
|
|||||||
{
|
{
|
||||||
"command": "pipx upgrade-all",
|
"command": "pipx upgrade-all",
|
||||||
"desc": "Pip installed packages on system"
|
"desc": "Pip installed packages on system"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "brew update",
|
||||||
|
"desc": "Brew installed own software"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"other installs": [
|
"other installs": [
|
||||||
|
|||||||
Reference in New Issue
Block a user