Skip to content

Commit 73b41d6

Browse files
author
Aaron Roller
authored
Merge pull request #61 from AutoModality/ci/1627591327
fix: updated github action workflows from amros_config ci/1627591327
2 parents fc4a1e6 + d7cf3a4 commit 73b41d6

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

.github/workflows/package.yml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,27 @@ name: Release Candidate
22
on:
33
push:
44
branches-ignore:
5-
- master
5+
- master
66
jobs:
77
package:
8-
runs-on: [x64, self-hosted,linux,build]
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
matrix:
11+
os: [[x64, self-hosted,linux,build], [arm64,self-hosted,linux, build]]
12+
fail-fast: false
913
steps:
1014
- uses: AutoModality/action-clean@v1.1.0
1115
- uses: actions/checkout@v2
1216
- uses: rlespinasse/github-slug-action@3.1.0
1317
- name: Deploy
14-
id: deploy
1518
run: amros dev docker run -dm --command="deploy-amros ${{ secrets.DEVELOPER_PASSWORD }} ${{ github.run_number }}-${{ env.GITHUB_REF_SLUG }} dev ${{ secrets.CLOUDSMITH_API_KEY }}"
16-
package-arm:
17-
runs-on: [arm64,self-hosted,linux, cuda]
18-
steps:
19-
- uses: AutoModality/action-clean@v1.1.0
20-
- uses: actions/checkout@v2
21-
- uses: rlespinasse/github-slug-action@3.1.0
22-
- name: Deploy
23-
id: deploy
24-
run: deploy-amros ${{ secrets.DEVELOPER_PASSWORD }} ${{ github.run_number }}-${{ env.GITHUB_REF_SLUG }} dev ${{ secrets.CLOUDSMITH_API_KEY }}
2519
draft-pr:
2620
runs-on: ubuntu-18.04
27-
needs:
28-
- package
29-
- package-arm
21+
needs: package
3022
steps:
3123
- uses: actions/checkout@v2
3224
- name: Draft a Pull Request
3325
uses: repo-sync/pull-request@v2
3426
with:
3527
pr_draft: true
3628
github_token: ${{ secrets.GITHUB_TOKEN }}
37-

0 commit comments

Comments
 (0)