Skip to content

Commit

Permalink
Updating build.yml to work with Lean v4.4.0-rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
JOSHCLUNE committed Dec 19, 2023
1 parent b2db928 commit b61345f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,11 @@ jobs:
if: github.ref_type == 'tag'
uses: softprops/action-gh-release@v1

# TODO: replace with just `lake upload $RELEASE_TAG` when lean4#2713 is fixed
# References:
# https://docs.github.com/en/actions/learn-github-actions/contexts#runner-context
# https://stackoverflow.com/questions/8766730/tar-command-in-mac-os-x-adding-hidden-files-why
- name: Upload release archive
if: github.ref_type == 'tag'
# All our runners are 64-bit ¯\_(ツ)_/¯
run: |
export COPYFILE_DISABLE=true
tar -c -z -f ./${LEAN_OS}-64.tar.gz -C ./build .
gh release upload ${RELEASE_TAG} ./${LEAN_OS}-64.tar.gz
lake upload ${RELEASE_TAG}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_TAG: ${{ github.ref_name }}
Expand Down

0 comments on commit b61345f

Please sign in to comment.