Skip to content

Commit

Permalink
CI: Don't package in push/pull builds
Browse files Browse the repository at this point in the history
  • Loading branch information
hayzamjs committed Oct 31, 2022
1 parent a03c261 commit 447a1e4
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,3 @@ jobs:
name: ${{ matrix.toolchain.name }}
path: |
/home/runner/work/Scala/Scala/build/${{ matrix.toolchain.host }}/release/bin/scala*
- name: Get latest release version number
id: get_version
uses: battila7/get-version-action@v2
- name: Package for Windows
if: ${{ matrix.toolchain.host == 'x86_64-w64-mingw32'}}
run: |
zip -rj scala-${{ steps.get_version.outputs.version }}-win-x64.zip /home/runner/work/Scala/Scala/build/${{ matrix.toolchain.host }}/release/bin/scala*
- name: Package for Linux
if: ${{ matrix.toolchain.host == 'x86_64-unknown-linux-gnu'}}
run: |
zip -rj scala-${{ steps.get_version.outputs.version }}-linux-x64.zip /home/runner/work/Scala/Scala/build/${{ matrix.toolchain.host }}/release/bin/scala*
- name: Package for macOS
if: ${{ matrix.toolchain.host == 'x86_64-apple-darwin11'}}
run: |
zip -rj scala-${{ steps.get_version.outputs.version }}-macOS-x64.zip /home/runner/work/Scala/Scala/build/${{ matrix.toolchain.host }}/release/bin/scala*

0 comments on commit 447a1e4

Please sign in to comment.