Skip to content

Release v2.0.4

Release v2.0.4 #8

Workflow file for this run

---
name: "Publish release: PPA"
on:
release:
types: [released]
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Download tenv tarballs
run: |
echo "[INFO] Wait until all artefacts will be uploaded"
sleep 120
release_tag=${{ github.event.release.tag_name }}
release_version="${release_tag#v}"
mkdir -p /tmp/tenv
echo "[INFO] Download release's tarballs"
curl \
-SsL \
-o /tmp/tenv/tenv_${release_tag}_Linux_x86_64.tar.gz \
https://github.com/tofuutils/tenv/releases/download/${release_tag}/tenv_${release_tag}_Linux_x86_64.tar.gz
- name: Publish PPA
uses: yuezk/publish-ppa-package@v2
with:
repository: "kvendingoldo/tenv"
gpg_private_key: ${{ secrets.PPA_GPG_PRIVATE_KEY }}
gpg_passphrase: ${{ secrets.PPA_GPG_PASSPHRASE }}
tarball: /tmp/tenv*.tar.gz
deb_email: "[email protected]"
deb_fullname: "tenv"