File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ inputs:
1010 description : " Additional Rust target to install"
1111 required : false
1212 default : " "
13+ run-dev-setup :
14+ description : " Run setup for dev environment"
15+ required : false
16+ default : " true"
1317
1418runs :
1519 using : " composite"
6569 run : curl -LsSf https://astral.sh/uv/install.sh | sh
6670
6771 - name : Project setup
72+ if : ${{ inputs.run-dev-setup }} == "true"
6873 shell : bash
6974 run : make setup
7075
Original file line number Diff line number Diff line change @@ -102,6 +102,8 @@ jobs:
102102
103103 - name : Project setup
104104 uses : ./.github/actions/project-setup
105+ with :
106+ run-dev-setup : " false"
105107
106108 - name : Cargo publish (dry-run)
107109 run : cargo publish -p encoderfile-core --dry-run
@@ -133,6 +135,8 @@ jobs:
133135
134136 - name : Project setup
135137 uses : ./.github/actions/project-setup
138+ with :
139+ run-dev-setup : " false"
136140
137141 - name : Install target
138142 run : rustup target add ${{ matrix.platform.target }}
@@ -144,7 +148,7 @@ jobs:
144148
145149 - name : Create release tarball
146150 run : |
147- VERSION="${{ needs.tag.outputs.version }}"
151+ VERSION="${{ needs.create- tag.outputs.version }}"
148152 PLATFORM="${{ matrix.platform.target }}"
149153
150154 mkdir -p release
@@ -165,7 +169,7 @@ jobs:
165169 uses : actions/upload-artifact@v4
166170 with :
167171 name : encoderfile-${{ matrix.platform.target }}
168- path : encoderfile-v${{ needs.tag.outputs.version }}-${{ matrix.platform.target }}.tar.gz
172+ path : encoderfile-v${{ needs.create- tag.outputs.version }}-${{ matrix.platform.target }}.tar.gz
169173
170174
171175 create-release :
You can’t perform that action at this time.
0 commit comments