Skip to content

Commit

Permalink
Change workflows/release
Browse files Browse the repository at this point in the history
  • Loading branch information
fuyutarow committed Apr 25, 2021
1 parent a7233a4 commit db32786
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 19 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
files: "*.zip\n*.rpm"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Dispatch homebrew Repository update for Linux
- name: Dispatch homebrew Repository update
if: matrix.os == 'ubuntu-latest'
uses: peter-evans/repository-dispatch@v1
with:
Expand All @@ -72,22 +72,8 @@ jobs:
event-type: update
client-payload: |
{
"os": "linux",
"bin_name": "${{ steps.set_envs.outputs.bin_name }}",
"version": "${{ steps.set_envs.outputs.version }}",
"sha": "${{ steps.build_linux.outputs.sha }}"
}
- name: Dispatch homebrew Repository update for mac
if: matrix.os == 'macOS-latest'
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.HOMEBREW_REPO_GITHUB_TOKEN }}
repository: fuyutarow/homebrew-tap
event-type: update
client-payload: |
{
"os": "mac",
"bin_name": "${{ steps.set_envs.outputs.bin_name }}",
"version": "${{ steps.set_envs.outputs.version }}",
"sha": "${{ steps.build_mac.outputs.sha }}"
"sha_linux": "${{ steps.build_linux.outputs.sha }}",
"sha_mac": "${{ steps.build_mac.outputs.sha }}"
}
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "version-make"
version = "0.202104.8"
version = "0.202104.9"
authors = ["fuyutarow <[email protected]>"]
edition = "2018"

Expand Down

0 comments on commit db32786

Please sign in to comment.