ci(aur): the version is automatically determined [skip ci]

This commit is contained in:
Baptiste Augrain 2022-10-06 23:52:38 +02:00
parent 9f2a6fe772
commit bba3e74815

View file

@ -121,16 +121,10 @@ jobs:
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 }}
@ -141,7 +135,6 @@ jobs:
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 }}