Skip to content

Commit

Permalink
ugh more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
kabiroberai committed Apr 16, 2021
1 parent 5349ff1 commit 475bc14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
strategy:
matrix:
os: [ubuntu20.04, ubuntu18.04, ubuntu16.04]
runs-on: ubuntu-20.04
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Fetch Upload URL
Expand All @@ -41,12 +41,11 @@ jobs:
- name: Build Release
id: build_release
run: |
sudo apt-get install cpio xar
echo "::set-output name=upload_url::$(cat upload_url.txt)"
rm upload_url.txt
./create-toolchain ${{ matrix.os }}
echo "::set-output name=asset_path::"packages/*.tar.xz
echo "::set-output name=asset_name::"$(basename packages/*.tar.xz)
echo "::set-output name=asset_path::"packages/*
echo "::set-output name=asset_name::"$(basename packages/*)
- name: Upload Release
uses: actions/upload-release-asset@v1
env:
Expand Down
2 changes: 1 addition & 1 deletion create-toolchain
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,5 @@ curl -#L "https://github.com/kabiroberai/darwin-tools-linux/releases/download/v2
info "Packaging toolchain"
mkdir -p ../packages
# this takes forever but xz is around half the size of gz so imo worth it
tar -c linux | xz -zvc -T 0 > "../packages/swift-${swift_version}-${linux_version}.tar.xz"
tar -c linux | xz -z -vv -c -T 0 > "../packages/swift-${swift_version}-${linux_version}.tar.xz"
rm -rf linux mac

0 comments on commit 475bc14

Please # to comment.