summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorTilmann Meyer <allescrafterx@gmail.com>2020-07-26 00:49:09 +0200
committerGitHub <noreply@github.com>2020-07-25 18:49:09 -0400
commitfc18212fdbedd572b9403690d53e474fc1fa1828 (patch)
tree82d7f7893393ffa223abd88d22f9ed66ea186e5a /.github
parent869a6f31409a4e6b0f108f2785511ef24c80b22d (diff)
ci: Auto publish for the AUR (#1360)
* ci: Auto publish for the AUR * Add commit username + email to deploy.yml * ci: Use ATiltedTree/create-aur-release After testing with the other action it turns out that they forgot the `-s` `makepkg` flag meaning download all required dependencies. I forked it fixed the issue and added a fix from some other fork that allows for multiple source files. Co-authored-by: Kevin Song <chipbuster@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/deploy.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 24eec2ed1..3e14d5eb2 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -147,3 +147,22 @@ jobs:
body_path: RELEASE.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ aur_release:
+ runs-on: ubuntu-latest
+ name: Create AUR release
+ needs: github_release # The -bin version downloads and shasums it
+ steps:
+ - name: Build | Publish AUR package
+ uses: ATiltedTree/create-aur-release@v1
+ with:
+ package_name: starship
+ commit_username: "Starship Bot"
+ commit_email: starship.bot.noreply@gmail.com
+ ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
+ - name: Build | Publish AUR package (-bin version)
+ uses: ATiltedTree/create-aur-release@v1
+ with:
+ package_name: starship-bin
+ commit_username: "Starship Bot"
+ commit_email: starship.bot.noreply@gmail.com
+ ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}