File tree 3 files changed +13
-13
lines changed
3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 49
49
uses : actions/upload-artifact@v1
50
50
with :
51
51
name : ubuntu18.04-installable
52
- path : ../swift-wasm-DEVELOPMENT-SNAPSHOT-ubuntu18.04.tar.gz
52
+ path : ../swift-wasm-DEVELOPMENT-SNAPSHOT-ubuntu18.04-x86_64 .tar.gz
53
53
# - name: Pack test results
54
54
# run: tar cJf swift-test-results.tar.gz ../build/*/swift-linux-x86_64/swift-test-results
55
55
# - name: Upload test results
95
95
uses : actions/upload-artifact@v1
96
96
with :
97
97
name : ubuntu20.04-installable
98
- path : ../swift-wasm-DEVELOPMENT-SNAPSHOT-ubuntu20.04.tar.gz
98
+ path : ../swift-wasm-DEVELOPMENT-SNAPSHOT-ubuntu20.04-x86_64 .tar.gz
99
99
# - name: Pack test results
100
100
# run: tar cJf swift-test-results.tar.gz ../build/*/swift-linux-x86_64/swift-test-results
101
101
# - name: Upload test results
@@ -132,7 +132,7 @@ jobs:
132
132
uses : actions/upload-artifact@v1
133
133
with :
134
134
name : macos-installable
135
- path : ../swift-wasm-DEVELOPMENT-SNAPSHOT-osx .tar.gz
135
+ path : ../swift-wasm-DEVELOPMENT-SNAPSHOT-macos-x86_64 .tar.gz
136
136
- name : Pack test results
137
137
working-directory : ${{ github.workspace }}/../
138
138
run : |
Original file line number Diff line number Diff line change @@ -8,16 +8,16 @@ WASI_SDK_PATH=$SOURCE_PATH/wasi-sdk
8
8
9
9
case $( uname -s) in
10
10
Darwin)
11
- OS_SUFFIX=osx
11
+ OS_SUFFIX=macos-x86_64
12
12
HOST_PRESET=webassembly-host-install
13
13
TARGET_PRESET=webassembly-macos-target-install
14
14
HOST_SUFFIX=macosx-x86_64
15
15
;;
16
16
Linux)
17
17
if [ " $( grep RELEASE /etc/lsb-release) " == " DISTRIB_RELEASE=18.04" ]; then
18
- OS_SUFFIX=ubuntu18.04
18
+ OS_SUFFIX=ubuntu18.04-x86_64
19
19
elif [ " $( grep RELEASE /etc/lsb-release) " == " DISTRIB_RELEASE=20.04" ]; then
20
- OS_SUFFIX=ubuntu20.04
20
+ OS_SUFFIX=ubuntu20.04-x86_64
21
21
else
22
22
echo " Unknown Ubuntu version"
23
23
exit 1
Original file line number Diff line number Diff line change @@ -103,22 +103,22 @@ unzip ubuntu18.04-installable.zip
103
103
unzip ubuntu20.04-installable.zip
104
104
unzip macos-installable.zip
105
105
106
- toolchain_name=$( basename $( tar tfz swift-wasm-$2 -SNAPSHOT-ubuntu18.04.tar.gz | head -n1) )
106
+ toolchain_name=$( basename $( tar tfz swift-wasm-$2 -SNAPSHOT-ubuntu18.04-x86_64 .tar.gz | head -n1) )
107
107
108
108
if is_released $toolchain_name ; then
109
109
echo " Latest toolchain $toolchain_name has been already released"
110
110
exit 0
111
111
fi
112
112
113
- mv swift-wasm-$2 -SNAPSHOT-ubuntu18.04.tar.gz " $toolchain_name -ubuntu18.04.tar.gz"
114
- mv swift-wasm-$2 -SNAPSHOT-ubuntu20.04.tar.gz " $toolchain_name -ubuntu20.04.tar.gz"
115
- mv swift-wasm-$2 -SNAPSHOT-osx .tar.gz " $toolchain_name -osx .tar.gz"
113
+ mv swift-wasm-$2 -SNAPSHOT-ubuntu18.04-x86_64 .tar.gz " $toolchain_name -ubuntu18.04-x86_64 .tar.gz"
114
+ mv swift-wasm-$2 -SNAPSHOT-ubuntu20.04-x86_64 .tar.gz " $toolchain_name -ubuntu20.04-x86_64 .tar.gz"
115
+ mv swift-wasm-$2 -SNAPSHOT-macos-x86_64 .tar.gz " $toolchain_name -macos-x86_64 .tar.gz"
116
116
117
117
create_tag $toolchain_name $head_sha
118
118
release_id=$( create_release $toolchain_name $toolchain_name $head_sha )
119
119
120
- upload_tarball $release_id " $toolchain_name -ubuntu18.04.tar.gz"
121
- upload_tarball $release_id " $toolchain_name -ubuntu20.04.tar.gz"
122
- upload_tarball $release_id " $toolchain_name -osx .tar.gz"
120
+ upload_tarball $release_id " $toolchain_name -ubuntu18.04-x86_64 .tar.gz"
121
+ upload_tarball $release_id " $toolchain_name -ubuntu20.04-x86_64 .tar.gz"
122
+ upload_tarball $release_id " $toolchain_name -macos-x86_64-x86_64 .tar.gz"
123
123
124
124
popd
You can’t perform that action at this time.
0 commit comments