mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-24 03:50:13 +10:00
ci: build aur in parallel [skip ci]
This commit is contained in:
26
.github/workflows/insider-linux.yml
vendored
26
.github/workflows/insider-linux.yml
vendored
@@ -122,28 +122,20 @@ jobs:
|
|||||||
aur:
|
aur:
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- package_name: vscodium-insiders-bin
|
||||||
|
- package_name: vscodium-insiders
|
||||||
if: needs.build.outputs.SHOULD_DEPLOY == 'yes'
|
if: needs.build.outputs.SHOULD_DEPLOY == 'yes'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Get version
|
- name: Publish ${{ matrix.package_name }}
|
||||||
env:
|
|
||||||
RELEASE_VERSION: ${{ needs.build.outputs.RELEASE_VERSION }}
|
|
||||||
run: echo "PACKAGE_VERSION=${RELEASE_VERSION/-*/}" >> "${GITHUB_ENV}"
|
|
||||||
|
|
||||||
- name: Publish vscodium-insiders-bin
|
|
||||||
uses: zokugun/github-actions-aur-releaser@v1
|
uses: zokugun/github-actions-aur-releaser@v1
|
||||||
with:
|
with:
|
||||||
package_name: vscodium-insiders-bin
|
package_name: ${{ matrix.package_name }}
|
||||||
package_version: ${{ env.PACKAGE_VERSION }}
|
package_version: ${{ needs.build.outputs.RELEASE_VERSION }}
|
||||||
aur_private_key: ${{ secrets.AUR_PRIVATE_KEY }}
|
|
||||||
aur_username: ${{ secrets.AUR_USERNAME }}
|
|
||||||
aur_email: ${{ secrets.AUR_EMAIL }}
|
|
||||||
|
|
||||||
- name: Publish vscodium-insiders
|
|
||||||
uses: zokugun/github-actions-aur-releaser@v1
|
|
||||||
with:
|
|
||||||
package_name: vscodium-insiders
|
|
||||||
package_version: ${{ env.PACKAGE_VERSION }}
|
|
||||||
aur_private_key: ${{ secrets.AUR_PRIVATE_KEY }}
|
aur_private_key: ${{ secrets.AUR_PRIVATE_KEY }}
|
||||||
aur_username: ${{ secrets.AUR_USERNAME }}
|
aur_username: ${{ secrets.AUR_USERNAME }}
|
||||||
aur_email: ${{ secrets.AUR_EMAIL }}
|
aur_email: ${{ secrets.AUR_EMAIL }}
|
||||||
|
|||||||
22
.github/workflows/stable-linux.yml
vendored
22
.github/workflows/stable-linux.yml
vendored
@@ -118,22 +118,22 @@ jobs:
|
|||||||
aur:
|
aur:
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- package_name: vscodium
|
||||||
|
package_type: stable
|
||||||
|
- package_name: vscodium-git
|
||||||
|
package_type: rolling
|
||||||
if: needs.build.outputs.SHOULD_DEPLOY == 'yes'
|
if: needs.build.outputs.SHOULD_DEPLOY == 'yes'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Publish vscodium
|
- name: Publish ${{ matrix.package_name }}
|
||||||
uses: zokugun/github-actions-aur-releaser@v1
|
uses: zokugun/github-actions-aur-releaser@v1
|
||||||
with:
|
with:
|
||||||
package_name: vscodium
|
package_name: ${{ matrix.package_name }}
|
||||||
aur_private_key: ${{ secrets.AUR_PRIVATE_KEY }}
|
package_type: ${{ matrix.package_type }}
|
||||||
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
|
|
||||||
aur_private_key: ${{ secrets.AUR_PRIVATE_KEY }}
|
aur_private_key: ${{ secrets.AUR_PRIVATE_KEY }}
|
||||||
aur_username: ${{ secrets.AUR_USERNAME }}
|
aur_username: ${{ secrets.AUR_USERNAME }}
|
||||||
aur_email: ${{ secrets.AUR_EMAIL }}
|
aur_email: ${{ secrets.AUR_EMAIL }}
|
||||||
|
|||||||
Reference in New Issue
Block a user