File tree Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -2011,10 +2011,13 @@ jobs:
2011
2011
2012
2012
- uses : actions/upload-artifact@v2
2013
2013
with :
2014
- name : swift-format
2015
- path : |
2016
- ${{ github.workspace }}/.build/release/swift-format.exe
2017
- ${{ github.workspace }}/artifacts/swift-format.msi
2014
+ name : swift-format-msi
2015
+ path : ${{ github.workspace }}/artifacts/swift-format.msi
2016
+
2017
+ - uses : actions/upload-artifact@v2
2018
+ with :
2019
+ name : swift-format.exe
2020
+ path : ${{ github.workspace }}/SourceCache/swift-format/.build/release/swift-format.exe
2018
2021
2019
2022
snapshot :
2020
2023
runs-on : ubuntu-latest
@@ -2048,6 +2051,11 @@ jobs:
2048
2051
name : installer-amd64
2049
2052
path : ${{ github.workspace }}/tmp
2050
2053
2054
+ - uses : actions/download-artifact@v3
2055
+ with :
2056
+ name : swift-format-msi
2057
+ path : ${{ github.workspace }}/tmp
2058
+
2051
2059
- name : compute release name
2052
2060
id : release_name
2053
2061
run : |
@@ -2070,4 +2078,12 @@ jobs:
2070
2078
asset_name : installer-amd64.exe
2071
2079
asset_path : ${{ github.workspace }}/tmp/installer.exe
2072
2080
upload_url : ${{ steps.create_release.outputs.upload_url }}
2081
+
2082
+ env :
2083
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2084
+ with :
2085
+ asset_content_type : application/octet-stream
2086
+ asset_name : swift-format.msi
2087
+ asset_path : ${{ github.workspace }}/tmp/swift-format.msi
2088
+ upload_url : ${{ steps.create_release.outputs.upload_url }}
2073
2089
You can’t perform that action at this time.
0 commit comments