Skip to content

Commit

Permalink
Changes to make binary releases work
Browse files Browse the repository at this point in the history
  • Loading branch information
ndmitchell committed Jul 3, 2023
1 parent ecf7815 commit 08a0af6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ jobs:
tag_name: v${{ steps.reftags_version.outputs._1 }}
release_name: v${{ steps.reftags_version.outputs._1 }}



build:
needs: init
runs-on: ${{ matrix.os }}
Expand All @@ -36,7 +34,7 @@ jobs:
fail-fast: false
matrix:
include:
- os: ubuntu-18.04
- os: ubuntu-20.04
SUFFIX: x86_64-linux.tar.gz
- os: macOS-latest
SUFFIX: x86_64-osx.tar.gz
Expand Down Expand Up @@ -64,11 +62,11 @@ jobs:
asset_content_type: application/zip

- uses: actions/upload-release-asset@v1
if: matrix.os == 'ubuntu-18.04'
if: matrix.os == 'ubuntu-20.04'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.init.outputs.upload_url }}
asset_path: dist/${{ needs.init.outputs.filename }}.tar.gz
asset_path: dist-newstyle/sdist/${{ needs.init.outputs.filename }}.tar.gz
asset_name: ${{ needs.init.outputs.filename }}.tar.gz
asset_content_type: application/zip
1 change: 1 addition & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Changelog for HLint (* = breaking change)

Attempt to make a binary release
3.6, released 2023-06-26
#1522, define __GLASGOW_HASKELL__ for cmdCpp
#1519, don't suggest removing brackets that result in a parse error
Expand Down

0 comments on commit 08a0af6

Please sign in to comment.