Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-em committed Jan 30, 2024
1 parent d0c1e82 commit d0ea0bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,10 @@ 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 ./.lake/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
1 change: 1 addition & 0 deletions lakefile.lean
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ open Lake DSL System

package proofwidgets where
preferReleaseBuild := true
buildArchive := "ProofWidgets4.tar.gz"

lean_lib ProofWidgets

Expand Down
2 changes: 1 addition & 1 deletion lean-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
leanprover/lean4:nightly-2024-01-23
leanprover/lean4-pr-releases:pr-release-3226

0 comments on commit d0ea0bd

Please sign in to comment.