Remove the v1.9 installers from the repo to limit the repo size. #3
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: Generate Debian Package | |
on: push | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- run: sudo pip install pipenv2deb==2.0.7 | |
- name: Generate Debian Package | |
run: sudo python3 -m pipenv2deb | |
- name: Upload Debian Package | |
uses: actions/upload-artifact@v3 | |
with: | |
name: debian-package | |
path: packages/*.deb | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: packages/*.deb |