Skip to content

Commit

Permalink
Merge pull request MLton#595 from MatthewFluet/release-workflow-updates
Browse files Browse the repository at this point in the history
Work around symbolic link(s) appearing before destination in archive when unpacking on Windows
  • Loading branch information
MatthewFluet authored Dec 31, 2024
2 parents b15e2d2 + e1fa9fa commit ac90424
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/binary-release-single.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@ jobs:

- name: Download and unpack source release
run: |
curl --fail -L https://github.com/${{ github.repository }}/releases/download/on-${{ inputs.mlton-version }}-release/mlton-${{ inputs.mlton-version }}.src.tgz | tar xz --strip-components=1
curl --fail -s -O -L https://github.com/${{ github.repository }}/releases/download/on-${{ inputs.mlton-version }}-release/mlton-${{ inputs.mlton-version }}.src.tgz
tar xzf mlton-${{ inputs.mlton-version }}.src.tgz --strip-components=1 || true
tar xzf mlton-${{ inputs.mlton-version }}.src.tgz --strip-components=1
rm mlton-${{ inputs.mlton-version }}.src.tgz
- name: Make binary release
run: |
Expand Down

0 comments on commit ac90424

Please sign in to comment.