File tree Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Expand file tree Collapse file tree 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-x86_64 .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-x86_64 .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-macos-x86_64 .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=macos-x86_64
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-x86_64
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-x86_64
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 @@ -175,23 +175,23 @@ unzip ubuntu18.04-installable.zip
175
175
unzip ubuntu20.04-installable.zip
176
176
unzip macos-installable.zip
177
177
178
- toolchain_name=$( basename $( tar tfz swift-wasm-$channel -SNAPSHOT-ubuntu18.04-x86_64 .tar.gz | head -n1) )
178
+ toolchain_name=$( basename $( tar tfz swift-wasm-$channel -SNAPSHOT-ubuntu18.04_x86_64 .tar.gz | head -n1) )
179
179
180
180
if is_released $toolchain_name ; then
181
181
echo " Latest toolchain $toolchain_name has been already released"
182
182
exit 0
183
183
fi
184
184
185
185
186
- mv swift-wasm-$channel -SNAPSHOT-ubuntu18.04-x86_64 .tar.gz " $toolchain_name -ubuntu18.04-x86_64 .tar.gz"
187
- mv swift-wasm-$channel -SNAPSHOT-ubuntu20.04-x86_64 .tar.gz " $toolchain_name -ubuntu20.04-x86_64 .tar.gz"
188
- package_darwin_toolchain " swift-wasm-$channel -SNAPSHOT-macos-x86_64 .tar.gz" " $toolchain_name -macos-x86_64 .pkg"
186
+ mv swift-wasm-$channel -SNAPSHOT-ubuntu18.04_x86_64 .tar.gz " $toolchain_name -ubuntu18.04_x86_64 .tar.gz"
187
+ mv swift-wasm-$channel -SNAPSHOT-ubuntu20.04_x86_64 .tar.gz " $toolchain_name -ubuntu20.04_x86_64 .tar.gz"
188
+ package_darwin_toolchain " swift-wasm-$channel -SNAPSHOT-macos_x86_64 .tar.gz" " $toolchain_name -macos_x86_64 .pkg"
189
189
190
190
create_tag $toolchain_name $head_sha
191
191
release_id=$( create_release $toolchain_name $toolchain_name $head_sha )
192
192
193
- upload_tarball $release_id " $toolchain_name -ubuntu18.04-x86_64 .tar.gz"
194
- upload_tarball $release_id " $toolchain_name -ubuntu20.04-x86_64 .tar.gz"
195
- upload_tarball $release_id " $toolchain_name -macos-x86_64 .pkg"
193
+ upload_tarball $release_id " $toolchain_name -ubuntu18.04_x86_64 .tar.gz"
194
+ upload_tarball $release_id " $toolchain_name -ubuntu20.04_x86_64 .tar.gz"
195
+ upload_tarball $release_id " $toolchain_name -macos_x86_64 .pkg"
196
196
197
197
popd
You can’t perform that action at this time.
0 commit comments