This commit is contained in:
illegitimate-egg 2025-03-08 18:28:28 +00:00
parent f41c27768f
commit a12d7bbdf6
2 changed files with 13 additions and 9 deletions

View File

@ -12,7 +12,7 @@ env:
BIN_NAME: mcrizzledizzle BIN_NAME: mcrizzledizzle
PROJECT_NAME: mcrizzledizzle PROJECT_NAME: mcrizzledizzle
REPO_NAME: illegitimate-egg/mcrizzledizzle REPO_NAME: illegitimate-egg/mcrizzledizzle
BREW_TAP: jondot/homebrew-tap # BREW_TAP: jondot/homebrew-tap
jobs: jobs:
dist: dist:
@ -180,14 +180,14 @@ jobs:
run: | run: |
printf "::set-output name=%s::%s\n" tag-name "${GITHUB_REF#refs/tags/}" printf "::set-output name=%s::%s\n" tag-name "${GITHUB_REF#refs/tags/}"
- uses: mislav/bump-homebrew-formula-action@v1 # - uses: mislav/bump-homebrew-formula-action@v1
with: # with:
formula-path: ${{env.PROJECT_NAME}}.rb # formula-path: ${{env.PROJECT_NAME}}.rb
homebrew-tap: ${{ env.BREW_TAP }} # homebrew-tap: ${{ env.BREW_TAP }}
download-url: "https://github.com/${{ env.REPO_NAME }}/releases/download/${{ steps.extract-version.outputs.tag-name }}/${{env.PROJECT_NAME}}-${{ steps.extract-version.outputs.tag-name }}-x86_64-macos.tar.xz" # download-url: "https://github.com/${{ env.REPO_NAME }}/releases/download/${{ steps.extract-version.outputs.tag-name }}/${{env.PROJECT_NAME}}-${{ steps.extract-version.outputs.tag-name }}-x86_64-macos.tar.xz"
commit-message: updating formula for ${{ env.PROJECT_NAME }} # commit-message: updating formula for ${{ env.PROJECT_NAME }}
env: # env:
COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }} # COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}
# #
# you can use this initial file in your homebrew-tap if you don't have an initial formula: # you can use this initial file in your homebrew-tap if you don't have an initial formula:
# <projectname>.rb # <projectname>.rb

View File

@ -3,6 +3,10 @@ name = "mcrizzledizzle"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
[[bin]]
name = "mcrizzledizzle"
path = "src/main.rs"
[dependencies] [dependencies]
ctrlc = "3.4.5" ctrlc = "3.4.5"
flate2 = "1.0.30" flate2 = "1.0.30"