Skip to content

Commit

Permalink
Add publish-macos job
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Mirić committed Sep 29, 2020
1 parent 4b26696 commit 1d9cf2e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -285,3 +285,18 @@ jobs:
# $env:VERSION = $env:VERSION.TrimStart("v", " ")
# curl --fail -H "X-GPG-PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}" -T .\k6.msi "https://${{ secrets.BINTRAY_USER }}:${{ secrets.BINTRAY_KEY }}@api.bintray.com/content/loadimpact/windows/k6/$env:VERSION/k6-v$env:VERSION-amd64.msi?publish=1&override=1"
# curl --fail -H "X-GPG-PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}" -T .\k6.portable.$env:VERSION.nupkg "https://${{ secrets.BINTRAY_USER }}:${{ secrets.BINTRAY_KEY }}@api.bintray.com/content/loadimpact/choco/k6.portable/$env:VERSION/k6.portable.$env:VERSION.nupkg?publish=1&override=1"'

publish-macos:
runs-on: macos-latest
needs: [deps, lint, test, configure, build]
if: startsWith(github.ref, 'refs/tags/v')
env:
VERSION: ${{ needs.configure.outputs.version }}
defaults:
run:
shell: bash
steps:
- name: Set up Homebrew
uses: Homebrew/actions/setup-homebrew@cd7c1eba155dc11d77aa3e3e4013836ad96a6894
- name: Create version bump PR
run: brew bump-formula-pr k6 --tag="$VERSION" --revision="$GITHUB_SHA"

0 comments on commit 1d9cf2e

Please sign in to comment.