File tree Expand file tree Collapse file tree 4 files changed +19
-17
lines changed Expand file tree Collapse file tree 4 files changed +19
-17
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
@@ -134,7 +134,7 @@ jobs:
134
134
uses : actions/upload-artifact@v1
135
135
with :
136
136
name : macos-installable
137
- path : ../swift-wasm-DEVELOPMENT-SNAPSHOT-macos-x86_64 .tar.gz
137
+ path : ../swift-wasm-DEVELOPMENT-SNAPSHOT-macos_x86_64 .tar.gz
138
138
- name : Pack test results
139
139
working-directory : ${{ github.workspace }}/../
140
140
run : |
Original file line number Diff line number Diff line change 9
9
- uses : actions/checkout@v1
10
10
- name : Setup keychain
11
11
run : |
12
- echo "$DARWIN_TOOLCHAIN_APPLICATION_CERT_BASE64" | base64 --decode -o developerID_application.cer
13
- security import developerID_application.cer
14
- echo "$DARWIN_TOOLCHAIN_INSTALLER_CERT_BASE64" | base64 --decode -o developerID_installer.cer
15
- security import developerID_installer.cer
12
+ echo "$DARWIN_TOOLCHAIN_APPLICATION_CERT_BASE64" | base64 --decode -o developerID_application.p12
13
+ security import developerID_application.p12 -P "$DARWIN_TOOLCHAIN_APPLICATION_CERT_PASSWORD"
14
+ echo "$DARWIN_TOOLCHAIN_INSTALLER_CERT_BASE64" | base64 --decode -o developerID_installer.p12
15
+ security import developerID_installer.p12 -P "$DARWIN_TOOLCHAIN_INSTALLER_CERT_PASSWORD"
16
16
env :
17
17
DARWIN_TOOLCHAIN_APPLICATION_CERT : ${{ secrets.DARWIN_TOOLCHAIN_APPLICATION_CERT }}
18
18
DARWIN_TOOLCHAIN_APPLICATION_CERT_BASE64 : ${{ secrets.DARWIN_TOOLCHAIN_APPLICATION_CERT_BASE64 }}
19
+ DARWIN_TOOLCHAIN_APPLICATION_CERT_PASSWORD : ${{ secrets.DARWIN_TOOLCHAIN_APPLICATION_CERT_PASSWORD }}
19
20
DARWIN_TOOLCHAIN_INSTALLER_CERT : ${{ secrets.DARWIN_TOOLCHAIN_INSTALLER_CERT }}
20
21
DARWIN_TOOLCHAIN_INSTALLER_CERT_BASE64 : ${{ secrets.DARWIN_TOOLCHAIN_INSTALLER_CERT_BASE64 }}
22
+ DARWIN_TOOLCHAIN_INSTALLER_CERT_PASSWORD : ${{ secrets.DARWIN_TOOLCHAIN_INSTALLER_CERT_PASSWORD }}
21
23
- run : ./utils/webassembly/distribute-latest-toolchain.sh swiftwasm DEVELOPMENT
22
24
env :
23
25
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
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