add create_avd
script
#19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
main: | |
runs-on: macos-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Install 1Password CLI | |
uses: 1password/install-cli-action@v1 | |
- name: Update Homebrew formula | |
run: | | |
git config --global user.name "GitHub Actions on behalf of Bartek Pacia" | |
git config --global user.email "[email protected]" | |
brew tap bartekpacia/tools | |
op run -- brew bump-formula-pr \ | |
--message "bump version to $(git describe --tags)" \ | |
--no-browse \ | |
--strict \ | |
--online \ | |
--no-fork \ | |
--tag "$(git describe --tags)" \ | |
--revision "$(git rev-parse HEAD)" \ | |
scripts | |
env: | |
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }} | |
HOMEBREW_GITHUB_API_TOKEN: op://Developer/GitHub/PAT | |
- name: Create release on GitHub | |
uses: softprops/action-gh-release@v2 | |
with: | |
name: ${{ github.ref_name }} |