Skip to content

Commit 1868410

Browse files
committed
Make indentation consistent
1 parent 2c5aaf4 commit 1868410

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.github/workflows/build.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -279,24 +279,24 @@ jobs:
279279
GH_TOKEN: ${{ github.token }}
280280
GH_REPO: ${{ github.repository }}
281281
steps:
282-
- name: Set platform
283-
id: platform
284-
run: |
285-
platform=${{ matrix.os }}
286-
platform=${platform/macos-13/darwin-x64}
287-
platform=${platform/macos-14/darwin-arm64}
288-
platform=${platform/%.04/.04-x64}
289-
platform=${platform/%.04-arm/.04-arm64}
290-
echo "platform=$platform" >> $GITHUB_OUTPUT
291-
- name: Download binaries from previous release
292-
run: gh release download "${{ needs.prepare.outputs.previous_release }}" --pattern "ruby-${{ matrix.name }}-${{ steps.platform.outputs.platform }}.tar.gz"
293-
if: matrix.name != 'noop'
294-
- name: Re-upload Binaries
295-
run: gh release upload "${{ needs.release.outputs.tag }}" "ruby-${{ matrix.name }}-${{ steps.platform.outputs.platform }}.tar.gz"
296-
if: matrix.name != 'noop'
297-
- name: (Empty step for when reuse is not applied)
298-
run: echo "Not reusing binaries. This step is a no-op." # We can't skip the whole job as publish depends on it, but we skip the uploading
299-
if: matrix.name == 'noop'
282+
- name: Set platform
283+
id: platform
284+
run: |
285+
platform=${{ matrix.os }}
286+
platform=${platform/macos-13/darwin-x64}
287+
platform=${platform/macos-14/darwin-arm64}
288+
platform=${platform/%.04/.04-x64}
289+
platform=${platform/%.04-arm/.04-arm64}
290+
echo "platform=$platform" >> $GITHUB_OUTPUT
291+
- name: Download binaries from previous release
292+
run: gh release download "${{ needs.prepare.outputs.previous_release }}" --pattern "ruby-${{ matrix.name }}-${{ steps.platform.outputs.platform }}.tar.gz"
293+
if: matrix.name != 'noop'
294+
- name: Re-upload Binaries
295+
run: gh release upload "${{ needs.release.outputs.tag }}" "ruby-${{ matrix.name }}-${{ steps.platform.outputs.platform }}.tar.gz"
296+
if: matrix.name != 'noop'
297+
- name: (Empty step for when reuse is not applied)
298+
run: echo "Not reusing binaries. This step is a no-op." # We can't skip the whole job as publish depends on it, but we skip the uploading
299+
if: matrix.name == 'noop'
300300

301301
publish:
302302
name: Publish Release

0 commit comments

Comments
 (0)