Fix Debian build once again #51
Workflow file for this run
This file contains hidden or 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: Release Sudo | |
| on: | |
| push: | |
| tags: | |
| - "v*.*" | |
| - "v*.*.*" | |
| jobs: | |
| Release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Generate Changelog | |
| run: sed -n '/${{github.ref_name}}/,/^$/p' sudo/FONTLOG.txt | sed '1d; $d' > Release_Notes.txt | |
| - name: Install WOFF Support | |
| run: sudo apt install -y woff2 woff-tools | |
| - name: Install Debian Packaging Support | |
| run: sudo apt update && sudo apt -y install devscripts debhelper-compat build-essential zip | |
| - name: Build Debian Package | |
| run: scripts/prepare-deb.sh | |
| - name: Build | |
| run: make dist | |
| - name: Release | |
| uses: softprops/action-gh-release@v0.1.15 | |
| with: | |
| body_path: Release_Notes.txt | |
| files: | | |
| dist/sudo.zip | |
| dist/deb/fonts-sudo/fonts-sudo_*_all.deb |