mirror of
				https://github.com/smartfrigde/armcord.git
				synced 2024-08-14 23:56:58 +00:00 
			
		
		
		
	Arm64 build + delete latest prerelease
This commit is contained in:
		
							parent
							
								
									095a060be5
								
							
						
					
					
						commit
						03082d3d7f
					
				
					 1 changed files with 21 additions and 4 deletions
				
			
		
							
								
								
									
										23
									
								
								.github/workflows/dev.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										23
									
								
								.github/workflows/dev.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -23,13 +23,18 @@ jobs: | ||||||
|               run: npm install -g electron-builder |               run: npm install -g electron-builder | ||||||
| 
 | 
 | ||||||
|             - name: Build |             - name: Build | ||||||
|               run: npm run build && electron-builder --linux zip |               run: npm run build && electron-builder --linux zip && electron-builder --arm64 --linux zip | ||||||
| 
 | 
 | ||||||
|             - name: Upload artifact |             - name: Upload artifact | ||||||
|               uses: actions/upload-artifact@v2 |               uses: actions/upload-artifact@v2 | ||||||
|               with: |               with: | ||||||
|                   name: ArmCordLinux.zip |                   name: ArmCordLinux.zip | ||||||
|                   path: dist/ArmCord-3.1.0.zip |                   path: dist/ArmCord-3.1.0.zip | ||||||
|  |             - name: Upload artifact | ||||||
|  |               uses: actions/upload-artifact@v2 | ||||||
|  |               with: | ||||||
|  |                   name: ArmCordLinuxArm64.zip | ||||||
|  |                   path: dist/ArmCord-3.1.0-arm64.zip | ||||||
| 
 | 
 | ||||||
|     build-mac: |     build-mac: | ||||||
|         runs-on: macos-latest |         runs-on: macos-latest | ||||||
|  | @ -108,6 +113,11 @@ jobs: | ||||||
|               with: |               with: | ||||||
|                   name: ArmCordLinux.zip |                   name: ArmCordLinux.zip | ||||||
|                   path: linux |                   path: linux | ||||||
|  | 
 | ||||||
|  |             - uses: actions/download-artifact@v2 | ||||||
|  |               with: | ||||||
|  |                   name: ArmCordLinuxArm64.zip | ||||||
|  |                   path: linux | ||||||
|             - run: | |             - run: | | ||||||
|                 ls |                 ls | ||||||
|                 ls windows |                 ls windows | ||||||
|  | @ -118,18 +128,25 @@ jobs: | ||||||
|               shell: bash |               shell: bash | ||||||
|               run: | |               run: | | ||||||
|                 echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" |                 echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" | ||||||
| 
 |             - uses: dev-drprasad/delete-tag-and-release@v0.2.0 | ||||||
|  |               with: | ||||||
|  |                 delete_release: true | ||||||
|  |                 tag_name: devbuild | ||||||
|  |                 repo: ArmCord/ArmCord | ||||||
|  |                 env: | ||||||
|  |                   GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||||
|             - name: Create the release |             - name: Create the release | ||||||
|               uses: softprops/action-gh-release@v1 |               uses: softprops/action-gh-release@v1 | ||||||
|               env: |               env: | ||||||
|                   GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |                   GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||||
|               with: |               with: | ||||||
|                   tag_name: ${{ steps.vars.outputs.sha_short }} |                   tag_name: devbuild | ||||||
|                   name: Dev Build ${{ steps.vars.outputs.sha_short }} |                   name: Dev Build ${{ steps.vars.outputs.sha_short }} | ||||||
|                   draft: false |                   draft: false | ||||||
|                   prerelease: true |                   prerelease: true | ||||||
|                   body_path: .github/release.md |                   body_path: .github/release.md | ||||||
|                   files: | |                   files: | | ||||||
|                       linux/ArmCord-3.1.0.zip |                       linux/ArmCord-3.1.0.zip | ||||||
|  |                       linux/ArmCord-3.1.0-arm64.zip | ||||||
|                       macos/ArmCord-3.1.0-mac.zip |                       macos/ArmCord-3.1.0-mac.zip | ||||||
|                       windows/ArmCord-3.1.0-win.zip |                       windows/ArmCord-3.1.0-win.zip | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue