mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Create xbps.yml
This commit is contained in:
		
							parent
							
								
									3d7f452481
								
							
						
					
					
						commit
						3936885c16
					
				
					 1 changed files with 36 additions and 0 deletions
				
			
		
							
								
								
									
										36
									
								
								.github/workflows/xbps.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								.github/workflows/xbps.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,36 @@ | ||||||
|  | name: Publish xbps template 📦️ | ||||||
|  | 
 | ||||||
|  | on: | ||||||
|  |   workflow_dispatch: | ||||||
|  | 
 | ||||||
|  | jobs: | ||||||
|  |   publish-ppa: | ||||||
|  |     name: Publish xbps template | ||||||
|  |     runs-on: ubuntu-22.04 | ||||||
|  |     steps: | ||||||
|  |     - name: Checkout  | ||||||
|  |       uses: actions/checkout@v4 | ||||||
|  |       env: | ||||||
|  |         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||||
|  |     - name: Import gpg key | ||||||
|  |       uses: crazy-max/ghaction-import-gpg@v6 | ||||||
|  |       with: | ||||||
|  |         gpg_private_key: ${{ secrets.PPA_GPG_PRIVATE_KEY }} | ||||||
|  |         passphrase: ${{ secrets.PPA_GPG_PASSPHRASE }} | ||||||
|  |     - name: Install dependencies | ||||||
|  |       run: | | ||||||
|  |         sudo apt-get -y update | ||||||
|  |         sudo apt-get -y install debhelper-compat distro-info dput devscripts | ||||||
|  |     - name: Publish to PPA | ||||||
|  |       env: | ||||||
|  |         DEBEMAIL: ${{ secrets.DEBEMAIL }} | ||||||
|  |         DEBFULLNAME: ${{ secrets.DEBFULLNAME }} | ||||||
|  |       run: | | ||||||
|  |         REL_VER=$(grep "^readonly VERSION" quickemu | cut -d'"' -f2) | ||||||
|  |         STAMP=$(date +%y%j.%H%M) | ||||||
|  |         for CODENAME in $(distro-info --supported); do | ||||||
|  |           rm debian/changelog | ||||||
|  |           dch --package quickemu --newversion="${REL_VER}-1~${CODENAME}${STAMP}" --distribution=${CODENAME} "New upstream release." --create | ||||||
|  |           dpkg-buildpackage -d -S -sa | ||||||
|  |           dput ppa:flexiondotorg/quickemu ../quickemu_${REL_VER}-1~${CODENAME}${STAMP}_source.changes | ||||||
|  |         done | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue