@@ -80,42 +80,42 @@ jobs:
8080 matrix :
8181 os : [macos-10.15, windows-2019]
8282 python-version : [ "3.8" ]
83- # upload:
84- # name: upload
85- # needs: build
86- # runs-on: ubuntu-latest
87- # steps:
88- # - uses: actions/checkout@v2
89- # - env:
90- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
91- # id: create_release
92- # uses: actions/create-release@v1
93- # with:
94- # draft: true
95- # prerelease: true
96- # release_name: ${{ github.ref }}
97- # tag_name: ${{ github.ref }}
98- # # - uses: actions/download-artifact@v1
99- # # with:
100- # # name: CellProfiler-macOS-4.1.3 .zip
101- # # path: ./
102- # - uses: actions/download-artifact@v1
103- # with:
104- # name: CellProfiler-Analyst-Windows-3.0.0.exe
105- # path: ./
106- # # - env:
107- # # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
108- # # uses: actions/upload-release-asset@v1
109- # # with:
110- # # asset_content_type: application/zip
111- # # asset_name: CellProfiler-macOS-4.1.3 .zip
112- # # asset_path: /home/runner/work/CellProfiler/CellProfiler/CellProfiler-macOS-4.1.3 .zip
113- # # upload_url: ${{ steps.create_release.outputs.upload_url }}
114- # - env:
115- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
116- # uses: actions/upload-release-asset@v1
117- # with:
118- # asset_content_type: application/exe
119- # asset_name: CellProfiler-Analyst-3.0.0rc1 .exe
120- # asset_path: /home/runner/work/CellProfiler/CellProfiler-Analyst/CellProfiler-Windows-4.1.3 .exe
121- # upload_url: ${{ steps.create_release.outputs.upload_url }}
83+ upload :
84+ name : upload
85+ needs : build
86+ runs-on : ubuntu-latest
87+ steps :
88+ - uses : actions/checkout@v2
89+ - env :
90+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
91+ id : create_release
92+ uses : actions/create-release@v1
93+ with :
94+ draft : true
95+ prerelease : true
96+ release_name : ${{ github.ref }}
97+ tag_name : ${{ github.ref }}
98+ - uses : actions/download-artifact@v1
99+ with :
100+ name : CellProfiler-Analyst- macOS-3.0.0 .zip
101+ path : ./
102+ - uses : actions/download-artifact@v1
103+ with :
104+ name : CellProfiler-Analyst-Windows-3.0.0.exe
105+ path : ./
106+ - env :
107+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
108+ uses : actions/upload-release-asset@v1
109+ with :
110+ asset_content_type : application/zip
111+ asset_name : CellProfiler-Analyst- macOS-3.0.0 .zip
112+ asset_path : /home/runner/work/CellProfiler-Analyst /CellProfiler-Analyst /CellProfiler-Analyst- macOS-3.0.0 .zip
113+ upload_url : ${{ steps.create_release.outputs.upload_url }}
114+ - env :
115+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
116+ uses : actions/upload-release-asset@v1
117+ with :
118+ asset_content_type : application/exe
119+ asset_name : CellProfiler-Analyst-Windows- 3.0.0 .exe
120+ asset_path : /home/runner/work/CellProfiler-Analyst /CellProfiler-Analyst/CellProfiler-Analyst- Windows-3.0.0 .exe
121+ upload_url : ${{ steps.create_release.outputs.upload_url }}
0 commit comments