gh: add Jira sync config #116
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PPA Upload | |
on: | |
push: | |
branches: | |
- main | |
- release/[0-9]+.[0-9]+ | |
tags: | |
- v[0-9]+.[0-9]+.[0-9]+ | |
jobs: | |
PPAUpload: | |
strategy: | |
fail-fast: true | |
matrix: | |
release: | |
- "22.04" | |
- "23.10" | |
- "devel" | |
runs-on: ubuntu-latest | |
env: | |
DEBFULLNAME: "Mir CI Bot" | |
DEBEMAIL: "[email protected]" | |
steps: | |
- name: Import GPG key | |
uses: crazy-max/ghaction-import-gpg@v3 | |
with: | |
gpg-private-key: ${{ secrets.MIR_BOT_GPG_PRIVATE_KEY }} | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
# Need full history for version determination | |
fetch-depth: 0 | |
- name: Install dependencies | |
run: | | |
sudo apt-get install --no-install-recommends --yes \ | |
debhelper \ | |
devscripts \ | |
dput \ | |
python3-launchpadlib | |
- name: Set up Launchpad credentials | |
uses: DamianReeves/[email protected] | |
with: | |
path: lp_credentials | |
contents: ${{ secrets.LAUNCHPAD_CREDENTIALS }} | |
- name: Upload to PPA | |
env: | |
RELEASE: ${{ matrix.release }} | |
run: tools/ppa-upload.sh lp_credentials |