ci: prepare 3rd parties releases [skip ci]

This commit is contained in:
Baptiste Augrain
2022-10-04 21:57:06 +02:00
parent 983eefdc2e
commit 8335ca9c14
3 changed files with 31 additions and 4 deletions

View File

@@ -112,6 +112,36 @@ jobs:
run: ./update_version.sh
if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'
aur:
needs: build
runs-on: ubuntu-latest
if: needs.build.outputs.SHOULD_DEPLOY == 'yes'
steps:
- name: Get version
env:
RELEASE_VERSION: ${{ needs.build.outputs.RELEASE_VERSION }}
run: echo "PACKAGE_VERSION=${RELEASE_VERSION/-*/}" >> $GITHUB_ENV
- name: Publish vscodium
uses: zokugun/github-actions-aur-releaser@v1
with:
package_name: vscodium
package_version: ${{ env.PACKAGE_VERSION }}
aur_private_key: ${{ secrets.AUR_PRIVATE_KEY }}
aur_username: ${{ secrets.AUR_USERNAME }}
aur_email: ${{ secrets.AUR_EMAIL }}
- name: Publish vscodium-git
uses: zokugun/github-actions-aur-releaser@v1
with:
package_name: vscodium-git
package_type: rolling
package_version: ${{ env.PACKAGE_VERSION }}
aur_private_key: ${{ secrets.AUR_PRIVATE_KEY }}
aur_username: ${{ secrets.AUR_USERNAME }}
aur_email: ${{ secrets.AUR_EMAIL }}
snap:
needs: build
runs-on: ubuntu-latest