-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
18 additions
and
44 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
name: CI (exhaustive) | ||
on: | ||
push: | ||
tags: | ||
- 'deploy/[0-9]+.[0-9]+.[0-9]+' | ||
on: workflow_dispatch | ||
jobs: | ||
auto-cancel: | ||
runs-on: ubuntu-latest | ||
|
@@ -165,22 +162,7 @@ jobs: | |
- build-linux-swift-5 | ||
- cocoapods-5-4 | ||
steps: | ||
- uses: jungwinter/split@v1 | ||
id: split | ||
with: | ||
seperator: '/' # this is correct, the action is typo’d despite warning | ||
msg: ${{ github.ref }} | ||
|
||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 # zero means “all” (or push fails) | ||
token: ${{ secrets.JAZZY_PAT }} # or won’t trigger our workflow | ||
|
||
- name: Tag RC | ||
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git tag rc/$v --force | ||
git push origin rc/$v --force | ||
env: | ||
v: ${{ steps.split.outputs._3 }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
name: Post-Publish | ||
on: | ||
release: | ||
types: published | ||
types: [created] | ||
jobs: | ||
pods: | ||
runs-on: macos-latest | ||
steps: | ||
|
||
- name: Start Deployment | ||
uses: bobheadxi/deployments@v1 | ||
uses: bobheadxi/deployments@v0.5.2 | ||
id: deployment | ||
with: | ||
step: start | ||
|
@@ -24,7 +24,7 @@ jobs: | |
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} | ||
|
||
- name: Seal Deployment | ||
uses: bobheadxi/deployments@v1 | ||
uses: bobheadxi/deployments@v0.5.2 | ||
if: always() | ||
with: | ||
step: finish | ||
|
@@ -37,7 +37,7 @@ jobs: | |
steps: | ||
|
||
- name: Start Deployment | ||
uses: bobheadxi/deployments@v1 | ||
uses: bobheadxi/deployments@v0.5.2 | ||
id: deployment | ||
with: | ||
step: start | ||
|
@@ -59,7 +59,7 @@ jobs: | |
GITHUB_TOKEN: ${{ github.token }} | ||
|
||
- name: Seal Deployment | ||
uses: bobheadxi/deployments@v1 | ||
uses: bobheadxi/deployments@v0.5.2 | ||
if: always() | ||
with: | ||
step: finish | ||
|
@@ -72,7 +72,7 @@ jobs: | |
steps: | ||
|
||
- name: Start Deployment | ||
uses: bobheadxi/deployments@v1 | ||
uses: bobheadxi/deployments@v0.5.2 | ||
id: deployment | ||
with: | ||
step: start | ||
|
@@ -95,11 +95,11 @@ jobs: | |
- run: git config user.name Travis | ||
- run: git config user.email "[email protected]" | ||
- run: git commit -m 'Updated docs for v${{ github.event.release.tag_name }}' | ||
- run: git remote add secure-origin https://${{ JAZZY_PAT }}@github.com/mxcl/PromiseKit.git | ||
- run: git remote add secure-origin https://${{ secrets.JAZZY_PAT }}@github.com/mxcl/PromiseKit.git | ||
- run: git push secure-origin gh-pages | ||
|
||
- name: Seal Deployment | ||
uses: bobheadxi/deployments@v1 | ||
uses: bobheadxi/deployments@v0.5.2 | ||
if: always() | ||
with: | ||
step: finish | ||
|
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