-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a3de1b4
commit ea91aee
Showing
3 changed files
with
39 additions
and
2 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
.github/workflows/choco.yml → .github/workflows/publish-choco.yml
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
name: "Publish release: PPA" | ||
|
||
on: | ||
release: | ||
types: [released] | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Update chocolatey checksums | ||
run: | | ||
echo "[INFO] Wait until all artefacts will be uploaded" | ||
sleep 300 | ||
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: "ppa:kvendingoldo/tenv" | ||
gpg_private_key: ${{ secrets.PPA_GPG_PRIVATE_KEY }} | ||
gpg_passphrase: ${{ secrets.PPA_GPG_PASSPHRASE }} | ||
tarball: /tmp/tenv*.tar.gz | ||
deb_email: "kvendingoldo@gmail.com" | ||
deb_fullname: "tenv" |
File renamed without changes.