Skip to content

Commit bb3d2e8

Browse files
do not prepare either during test
1 parent 628bec4 commit bb3d2e8

File tree

1 file changed

+58
-58
lines changed

1 file changed

+58
-58
lines changed

.github/workflows/release.yml

+58-58
Original file line numberDiff line numberDiff line change
@@ -15,72 +15,72 @@ on:
1515
- nobump
1616

1717
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 }}
3434

35-
- name: Cancelling - user not part of organization
36-
uses: andymckay/[email protected]
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'
3939

40-
- name: Checkout Code
41-
uses: actions/checkout@v3
40+
# - name: Checkout Code
41+
# uses: actions/checkout@v3
4242

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
4747

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 }}
5454

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
6060

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"
6969

70-
- name: Cancelling - release already exists
71-
uses: andymckay/[email protected]
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 != ''
7373

74-
- name: Commit + Push
75-
id: commit
76-
uses: EndBug/[email protected]
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+
# uses: EndBug/[email protected]
77+
# with:
78+
# default_author: github_actions
79+
# message: Bumping version to v${{ steps.which_version.outputs.version }} [skip ci]
8080

8181
build_macos:
82-
if: github.repository_owner == 'viamrobotics'
83-
needs: [prepare]
82+
# if: github.repository_owner == 'viamrobotics'
83+
# needs: [prepare]
8484
runs-on: [self-hosted, ARM64, macOS]
8585
strategy:
8686
fail-fast: false
@@ -114,8 +114,8 @@ jobs:
114114
path: builds
115115

116116
build_linux:
117-
if: github.repository_owner == 'viamrobotics'
118-
needs: [prepare]
117+
# if: github.repository_owner == 'viamrobotics'
118+
# needs: [prepare]
119119
runs-on: [self-hosted, x64]
120120
container:
121121
image: ghcr.io/cross-rs/${{ matrix.image }}

0 commit comments

Comments
 (0)