|
@@ -112,6 +112,36 @@ jobs:
|
|
run: ./update_version.sh
|
|
run: ./update_version.sh
|
|
if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'
|
|
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:
|
|
snap:
|
|
needs: build
|
|
needs: build
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|