From 5a7b3beb29808e2bec568262c47343c2598976e4 Mon Sep 17 00:00:00 2001 From: ryu1sazae Date: Tue, 10 Jan 2023 22:42:30 +0900 Subject: [PATCH] Add actions file to publish automatically --- .github/workflows/publish.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..2e7da05 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,15 @@ +name: Publish + +on: + release: + types: [published] + +jobs: + publish: + runs-on: macOS-latest + steps: + - uses: actions/checkout@v2 + - name: Publish to formula & CocoaPods + env: + COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} + run: make publish