Workflow file for this run
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: package namban for debian | |
on: | |
release: | |
types: | |
- created | |
jobs: | |
build: | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
container: | |
image: debian:12 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install gh-cli | |
run: | | |
apt update | |
apt install gh | |
- name: Run the build script | |
run: ./package/debian/build.sh | |
env: | |
REL_TAGNAME: ${{ github.event.release.tag_name }} | |
- name: Upload the package file to the release | |
run: | | |
gh release upload ${{ github.event.release.tag_name }} ./namban*.deb -R ${{ github.repository }} | |
env: | |
GH_TOKEN: ${{ github.token }} | |