1+ name : .NET Release 
2+ 
3+ on :
4+   release :
5+     types : [ "published" ] 
6+ 
7+ jobs :
8+   build :
9+     runs-on : ubuntu-latest 
10+     steps :
11+     - uses : actions/checkout@v3 
12+       with :
13+         submodules : recursive 
14+ 
15+     - name : Setup .NET 
16+       uses : actions/setup-dotnet@v3 
17+       with :
18+         dotnet-version : 8.0.x 
19+ 
20+     - name : Publish Linux x64/ReleaseCloud  
21+       run : dotnet publish --no-self-contained -f net8.0 -r linux-x64 -c ReleaseCloud cTabIRL/cTabWebApp/cTabWebApp.csproj -o ctab-webapp-linux-x64 
22+       
23+     - name : Zip Linux x64/ReleaseCloud  
24+       run : zip -r ctab-webapp-linux-x64.zip ctab-webapp-linux-x64 
25+       
26+     - name : Publish Linux arm64/ReleaseCloud  
27+       run : dotnet publish --no-self-contained -f net8.0 -r linux-arm64 -c ReleaseCloud cTabIRL/cTabWebApp/cTabWebApp.csproj -o ctab-webapp-linux-arm64 
28+ 
29+     - name : Zip Linux arm64/ReleaseCloud  
30+       run : zip -r ctab-webapp-linux-arm64.zip ctab-webapp-linux-arm64 
31+ 
32+     - name : Publish Windows/ReleaseSolo 
33+       run : dotnet publish --no-self-contained -f net8.0 -r win-x64 -c Release cTabIRL/cTabWebApp/cTabWebApp.csproj -o ctab-webapp-single-user-win-x64 
34+       
35+     - name : Zip Windows/ReleaseSolo 
36+       run : zip -r ctab-webapp-single-user-win-x64.zip ctab-webapp-single-user-win-x64 
37+       
38+     - uses : Shopify/upload-to-release@master 
39+       with :
40+         name : ctab-webapp-linux-x64.zip 
41+         path : " ctab-webapp-linux-x64.zip" 
42+         repo-token : ${{ secrets.GITHUB_TOKEN }} 
43+         content-type : application/zip 
44+ 
45+     - uses : Shopify/upload-to-release@master 
46+       with :
47+         name : ctab-webapp-linux-arm64.zip 
48+         path : " ctab-webapp-linux-arm64.zip" 
49+         repo-token : ${{ secrets.GITHUB_TOKEN }} 
50+         content-type : application/zip 
51+         
52+     - uses : Shopify/upload-to-release@master 
53+       with :
54+         name : ctab-webapp-single-user-win-x64.zip 
55+         path : " ctab-webapp-single-user-win-x64.zip" 
56+         repo-token : ${{ secrets.GITHUB_TOKEN }} 
57+         content-type : application/zip 
58+         
59+         
0 commit comments