|
15 | 15 | - nobump
|
16 | 16 |
|
17 | 17 | jobs:
|
18 |
| - prepare: |
19 |
| - # if: github.repository_owner == 'viamrobotics' |
20 |
| - runs-on: [self-hosted, x64] |
21 |
| - container: |
22 |
| - image: ghcr.io/viamrobotics/canon:amd64 |
23 |
| - outputs: |
24 |
| - version: ${{ steps.which_version.outputs.version }} |
25 |
| - sha: ${{ steps.commit.outputs.commit_long_sha }} |
26 |
| - steps: |
27 |
| - - name: Check if organization member |
28 |
| - id: is_organization_member |
29 |
| - uses: jamessingleton/[email protected] |
30 |
| - with: |
31 |
| - organization: viamrobotics |
32 |
| - username: ${{ github.actor }} |
33 |
| - token: ${{ secrets.GITHUB_TOKEN }} |
| 18 | + # prepare: |
| 19 | + # if: github.repository_owner == 'viamrobotics' |
| 20 | + # runs-on: [self-hosted, x64] |
| 21 | + # container: |
| 22 | + # image: ghcr.io/viamrobotics/canon:amd64 |
| 23 | + # outputs: |
| 24 | + # version: ${{ steps.which_version.outputs.version }} |
| 25 | + # sha: ${{ steps.commit.outputs.commit_long_sha }} |
| 26 | + # steps: |
| 27 | + # - name: Check if organization member |
| 28 | + # id: is_organization_member |
| 29 | + # uses: jamessingleton/[email protected] |
| 30 | + # with: |
| 31 | + # organization: viamrobotics |
| 32 | + # username: ${{ github.actor }} |
| 33 | + # token: ${{ secrets.GITHUB_TOKEN }} |
34 | 34 |
|
35 |
| - - name: Cancelling - user not part of organization |
36 |
| - |
37 |
| - if: | |
38 |
| - steps.is_organization_member.outputs.result == 'false' |
| 35 | + # - name: Cancelling - user not part of organization |
| 36 | + # uses: andymckay/[email protected] |
| 37 | + # if: | |
| 38 | + # steps.is_organization_member.outputs.result == 'false' |
39 | 39 |
|
40 |
| - - name: Checkout Code |
41 |
| - uses: actions/checkout@v3 |
| 40 | + # - name: Checkout Code |
| 41 | + # uses: actions/checkout@v3 |
42 | 42 |
|
43 |
| - - name: Setup rust toolchain |
44 |
| - uses: actions-rs/toolchain@v1 |
45 |
| - with: |
46 |
| - toolchain: stable |
| 43 | + # - name: Setup rust toolchain |
| 44 | + # uses: actions-rs/toolchain@v1 |
| 45 | + # with: |
| 46 | + # toolchain: stable |
47 | 47 |
|
48 |
| - - name: Bump Version |
49 |
| - shell: bash |
50 |
| - if: inputs.version != 'nobump' |
51 |
| - run: | |
52 |
| - cargo install cargo-bump |
53 |
| - cargo bump ${{ inputs.version }} |
| 48 | + # - name: Bump Version |
| 49 | + # shell: bash |
| 50 | + # if: inputs.version != 'nobump' |
| 51 | + # run: | |
| 52 | + # cargo install cargo-bump |
| 53 | + # cargo bump ${{ inputs.version }} |
54 | 54 |
|
55 |
| - - name: Which Version |
56 |
| - id: which_version |
57 |
| - shell: bash |
58 |
| - run: | |
59 |
| - echo "version=$(cargo pkgid | sed 's/.*@//g')" >> $GITHUB_OUTPUT |
| 55 | + # - name: Which Version |
| 56 | + # id: which_version |
| 57 | + # shell: bash |
| 58 | + # run: | |
| 59 | + # echo "version=$(cargo pkgid | sed 's/.*@//g')" >> $GITHUB_OUTPUT |
60 | 60 |
|
61 |
| - - name: Check if release exists |
62 |
| - uses: cardinalby/[email protected] |
63 |
| - id: release_exists |
64 |
| - env: |
65 |
| - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
66 |
| - with: |
67 |
| - releaseName: v${{ steps.which_version.outputs.version }} |
68 |
| - doNotFailIfNotFound: "true" |
| 61 | + # - name: Check if release exists |
| 62 | + # uses: cardinalby/[email protected] |
| 63 | + # id: release_exists |
| 64 | + # env: |
| 65 | + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 66 | + # with: |
| 67 | + # releaseName: v${{ steps.which_version.outputs.version }} |
| 68 | + # doNotFailIfNotFound: "true" |
69 | 69 |
|
70 |
| - - name: Cancelling - release already exists |
71 |
| - |
72 |
| - if: steps.release_exists.outputs.id != '' |
| 70 | + # - name: Cancelling - release already exists |
| 71 | + # uses: andymckay/[email protected] |
| 72 | + # if: steps.release_exists.outputs.id != '' |
73 | 73 |
|
74 |
| - - name: Commit + Push |
75 |
| - id: commit |
76 |
| - |
77 |
| - with: |
78 |
| - default_author: github_actions |
79 |
| - message: Bumping version to v${{ steps.which_version.outputs.version }} [skip ci] |
| 74 | + # - name: Commit + Push |
| 75 | + # id: commit |
| 76 | + |
| 77 | + # with: |
| 78 | + # default_author: github_actions |
| 79 | + # message: Bumping version to v${{ steps.which_version.outputs.version }} [skip ci] |
80 | 80 |
|
81 | 81 | build_macos:
|
82 |
| - if: github.repository_owner == 'viamrobotics' |
83 |
| - needs: [prepare] |
| 82 | + # if: github.repository_owner == 'viamrobotics' |
| 83 | + # needs: [prepare] |
84 | 84 | runs-on: [self-hosted, ARM64, macOS]
|
85 | 85 | strategy:
|
86 | 86 | fail-fast: false
|
@@ -114,8 +114,8 @@ jobs:
|
114 | 114 | path: builds
|
115 | 115 |
|
116 | 116 | build_linux:
|
117 |
| - if: github.repository_owner == 'viamrobotics' |
118 |
| - needs: [prepare] |
| 117 | + # if: github.repository_owner == 'viamrobotics' |
| 118 | + # needs: [prepare] |
119 | 119 | runs-on: [self-hosted, x64]
|
120 | 120 | container:
|
121 | 121 | image: ghcr.io/cross-rs/${{ matrix.image }}
|
|
0 commit comments