diff --git a/.github/workflows/insider-linux.yml b/.github/workflows/insider-linux.yml index d865506..7eaf0ba 100644 --- a/.github/workflows/insider-linux.yml +++ b/.github/workflows/insider-linux.yml @@ -127,9 +127,6 @@ jobs: RELEASE_VERSION: ${{ needs.build.outputs.RELEASE_VERSION }} run: echo "PACKAGE_VERSION=${RELEASE_VERSION/-*/}" >> $GITHUB_ENV - - name: Register local actions - uses: actions/checkout@master - - name: Publish vscodium-insiders-bin uses: zokugun/github-actions-aur-releaser@v1 with: diff --git a/.github/workflows/stable-linux.yml b/.github/workflows/stable-linux.yml index c406e25..665bfb4 100644 --- a/.github/workflows/stable-linux.yml +++ b/.github/workflows/stable-linux.yml @@ -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 diff --git a/.github/workflows/stable-windows.yml b/.github/workflows/stable-windows.yml index 175c315..dc07247 100644 --- a/.github/workflows/stable-windows.yml +++ b/.github/workflows/stable-windows.yml @@ -129,7 +129,7 @@ jobs: - name: Release to WinGet uses: vedantmgoyal2009/winget-releaser@latest with: - identifier: VSCodium.VSCodium.Insiders + identifier: VSCodium.VSCodium release-tag: ${{ env.RELEASE_VERSION }} installers-regex: '\.exe$' # only .exe files token: ${{ secrets.STRONGER_GITHUB_TOKEN }}