File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 3737 working-directory : ./dist
3838 run : zip -r SusOps.zip SusOps.app
3939
40+ - name : Calculate SHA256
41+ id : sha
42+ working-directory : ./dist
43+ run : echo "sum=$(shasum -a 256 SusOps.zip | awk '{print $1}')" >> $GITHUB_OUTPUT
44+
4045 - name : Determine version
4146 id : version
4247 run : |
6570 brew bump-cask-pr \
6671 mashb1t/susops/susops \
6772 --version ${{ steps.version.outputs.version }} \
68- --url "https://github.com/mashb1t/susops-mac/releases/download/v${{ steps.version.outputs.version }}/SusOps.zip"
73+ --url "https://github.com/mashb1t/susops-mac/releases/download/v${{ steps.version.outputs.version }}/SusOps.zip" \
74+ --sha256 "${{ steps.sha.outputs.sum }}" \
6975 --no-browse --no-fork --no-audit --no-style
7076 env :
7177 HOMEBREW_GITHUB_API_TOKEN : ${{ secrets.BREW_PR_TOKEN }}
You can’t perform that action at this time.
0 commit comments