File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -180,6 +180,45 @@ jobs:
180180 remote_path : ' /srv/http/nightly.timschneeberger.me/jamesdsp-linux/'
181181 args : ' -o ConnectTimeout=5'
182182
183+ update-ppa :
184+ runs-on : ubuntu-latest
185+ needs : [build-deb-amd64]
186+ strategy :
187+ matrix :
188+ flavor : [pulse, pipewire]
189+
190+ steps :
191+ - uses : actions/checkout@v2
192+ with :
193+ repository : ' thepbone/PPA-Repository'
194+ token : ${{ secrets.GITHUB_TB_TOKEN }}
195+
196+ - name : Download package artifact
197+ uses : actions/download-artifact@v2
198+ with :
199+ name : jamesdsp-${{ matrix.flavor }}_${{steps.version.outputs.version}}_amd64.deb
200+
201+ - name : Update packages
202+ run : |
203+ sudo apt install dpkg-dev apt-utils
204+ export EMAIL = "[email protected] " 205+ dpkg-scanpackages --multiversion . > Packages
206+ gzip -k -f Packages
207+ apt-ftparchive release . > Release
208+ gpg --default-key "${EMAIL}" -abs -o - Release > Release.gpg
209+ gpg --default-key "${EMAIL}" --clearsign -o - Release > InRelease
210+
211+ - name : Push to PPA
212+ uses : cpina/github-action-push-to-another-repository@main
213+ env :
214+ API_TOKEN_GITHUB : ${{ secrets.GITHUB_TB_TOKEN }}
215+ with :
216+ source-directory : ' .'
217+ destination-github-username : ' ThePBone'
218+ destination-repository-name : ' PPA-Repository'
219+ 220+ target-branch : master
221+
183222 attach-to-release :
184223 runs-on : ubuntu-latest
185224 needs : [build-deb-amd64]
You can’t perform that action at this time.
0 commit comments