Bump jinja2 from 3.1.2 to 3.1.3 in /panda/plugins/syscalls2/scripts #51
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: Publish deb package | |
on: [push, pull_request] | |
jobs: | |
create_release: | |
runs-on: panda-arc | |
outputs: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
steps: | |
- name: Create release | |
id: create_release | |
if: startsWith(github.ref, 'refs/tags/v') | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: release_${{ github.sha }} | |
release_name: ${{ github.ref }} | |
draft: true | |
build_deb: | |
needs: create_release | |
runs-on: panda-arc | |
strategy: | |
matrix: | |
ubuntu_version: | |
- 20.04 | |
- 22.04 | |
steps: | |
- name: Install git | |
run: sudo apt-get -qq update -y && sudo apt-get -qq install git -y | |
- name: Check out | |
uses: actions/checkout@v4 | |
- name: Build package | |
working-directory: panda/debian | |
run: ./setup.sh Ubuntu ${{ matrix.ubuntu_version }} | |
- name: Upload to artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: pandare_${{ matrix.ubuntu_version }}.deb | |
path: panda/debian/pandare.deb | |
- name: Upload to release | |
if: startsWith(github.ref, 'refs/tags/v') | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ needs.create_release.outputs.upload_url }} | |
asset_path: panda/debian/pandare.deb | |
asset_name: pandare_${{ matrix.ubuntu_version }}.deb | |
asset_content_type: application/vnd.debian.binary-package |