Skip to content

Commit e1f3333

Browse files
raycastbotgrzegorzkrukowski
authored andcommitted
CI: improved workflow
1 parent a1bbe9f commit e1f3333

File tree

3 files changed

+40
-19
lines changed

3 files changed

+40
-19
lines changed

.github/workflows/script-commands.yml

+6-14
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,15 @@ on:
66

77
jobs:
88
scriptCommands:
9-
runs-on: macos-latest
9+
runs-on: macos-11
1010

1111
steps:
1212
- uses: actions/checkout@v2
1313
with:
1414
fetch-depth: 0
1515

16-
- uses: maxim-lobanov/setup-xcode@v1
17-
with:
18-
xcode-version: latest-stable
16+
- name: Setup Xcode
17+
uses: raycast/github-actions/setup-xcode@master
1918

2019
- name: Build Toolkit
2120
run: |
@@ -29,19 +28,12 @@ jobs:
2928
run: |
3029
make gen-docs-and-commit
3130
32-
- name: Push changes
31+
- name: Rebase
3332
if: success()
34-
uses: ad-m/github-push-action@master
35-
with:
36-
github_token: ${{ secrets.RAYCAST_BOT_ACCESS_TOKEN }}
37-
branch: ${{ github.ref }}
38-
39-
- name: Re-pull on failure
40-
if: failure()
4133
run: git pull origin ${{ github.ref }} --autostash --rebase -X ours
4234

43-
- name: Re-push on failure
44-
if: failure()
35+
- name: Push
36+
if: success()
4537
uses: ad-m/github-push-action@master
4638
with:
4739
branch: ${{ github.ref }}

commands/README.md

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

commands/extensions.json

+33-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)