Skip to content

Commit 5a741a1

Browse files
committed
Remove copying to old platform name
1 parent 9bc93d4 commit 5a741a1

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,6 @@ jobs:
8686
id: platform
8787
shell: bash
8888
run: |
89-
platform=${{ matrix.os }}
90-
platform=${platform/macos-13/macos-latest}
91-
platform=${platform/macos-14/macos-13-arm64}
92-
platform=${platform/windows-2022/windows-latest}
93-
platform=${platform/windows-11-arm/windows-arm64}
94-
platform=${platform/%-arm/-arm64}
95-
echo "old_platform=$platform" >> $GITHUB_OUTPUT
96-
9789
platform=${{ matrix.os }}
9890
platform=${platform/macos-13/darwin-x64}
9991
platform=${platform/macos-14/darwin-arm64}
@@ -170,10 +162,6 @@ jobs:
170162
shell: bash
171163
run: |
172164
gh release upload "${{ needs.release.outputs.tag }}" "jruby-head-${{ steps.platform.outputs.platform }}.tar.gz"
173-
if [ "${{ steps.platform.outputs.old_platform }}" != "${{ steps.platform.outputs.platform }}" ]; then
174-
mv "jruby-head-${{ steps.platform.outputs.platform }}.tar.gz" "jruby-head-${{ steps.platform.outputs.old_platform }}.tar.gz"
175-
gh release upload "${{ needs.release.outputs.tag }}" "jruby-head-${{ steps.platform.outputs.old_platform }}.tar.gz"
176-
fi
177165
178166
publish:
179167
name: Publish Release

0 commit comments

Comments
 (0)