Skip to content

gracefully handle clipboard issue #21

gracefully handle clipboard issue

gracefully handle clipboard issue #21

Workflow file for this run

name: CI
on:
push:
tags:
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
Release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
draft: false
prerelease: false
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ github.ref_name }}
generate_release_notes: true
Update-Formula:
needs: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Dispatch
env:
GITHUB_TOKEN: ${{ secrets.FORMULA_TOKEN }}
REPO: ${{ github.repository }}
FORMULA: plex.rb
run: |-
curl -X POST \
-H 'Accept: application/vnd.github.v3+json' \
-H "Authorization: Bearer $GITHUB_TOKEN" \
-H 'Content-Type: application/json' \
-H 'X-GitHub-Api-Version: 2022-11-28' \
-d '{"ref":"main", "inputs": {"repo": "'"$REPO"'", "formula": "'"$FORMULA"'"}}' \
https://api.github.com/repos/BalliAsghar/homebrew-apps/actions/workflows/57988397/dispatches