|
@@ -155,38 +155,35 @@ jobs:
|
|
|
env:
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
run: ./check_tags.sh
|
|
|
- if: env.SHOULD_DEPLOY == 'yes'
|
|
|
|
|
|
- name: Download vscode artifact
|
|
|
uses: actions/download-artifact@v3
|
|
|
with:
|
|
|
name: vscode.tar.gz
|
|
|
- if: env.SHOULD_BUILD == 'yes'
|
|
|
|
|
|
- name: Build
|
|
|
env:
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
npm_config_arch: ${{ matrix.npm_arch }}
|
|
|
run: ./package_linux_bin.sh
|
|
|
- if: env.SHOULD_BUILD == 'yes'
|
|
|
|
|
|
- name: Prepare assets
|
|
|
run: ./prepare_assets.sh
|
|
|
- if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true')
|
|
|
+ if: env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true'
|
|
|
|
|
|
- name: Release
|
|
|
env:
|
|
|
GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }}
|
|
|
GITHUB_USERNAME: ${{ github.repository_owner }}
|
|
|
run: ./release.sh
|
|
|
- if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'
|
|
|
+ if: env.SHOULD_DEPLOY == 'yes'
|
|
|
|
|
|
- name: Update versions repo
|
|
|
env:
|
|
|
GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }}
|
|
|
GITHUB_USERNAME: ${{ github.repository_owner }}
|
|
|
run: ./update_version.sh
|
|
|
- if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'
|
|
|
+ if: env.SHOULD_DEPLOY == 'yes'
|
|
|
|
|
|
- name: Upload assets
|
|
|
uses: actions/upload-artifact@v3
|
|
@@ -194,7 +191,7 @@ jobs:
|
|
|
name: bin-${{ matrix.vscode_arch }}
|
|
|
path: assets/
|
|
|
retention-days: 3
|
|
|
- if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'no' && github.event.inputs.generate_assets == 'true'
|
|
|
+ if: env.SHOULD_DEPLOY == 'no' && github.event.inputs.generate_assets == 'true'
|
|
|
|
|
|
reh:
|
|
|
needs:
|
|
@@ -228,13 +225,11 @@ jobs:
|
|
|
|
|
|
- name: Install GH
|
|
|
run: ./install_gh.sh
|
|
|
- if: env.SHOULD_DEPLOY == 'yes'
|
|
|
|
|
|
- name: Check existing VSCodium tags/releases
|
|
|
env:
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
run: ./check_tags.sh
|
|
|
- if: env.SHOULD_DEPLOY == 'yes'
|
|
|
|
|
|
- name: Download vscode artifact
|
|
|
uses: actions/download-artifact@v3
|
|
@@ -254,7 +249,7 @@ jobs:
|
|
|
GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }}
|
|
|
GITHUB_USERNAME: ${{ github.repository_owner }}
|
|
|
run: ./release.sh
|
|
|
- if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'
|
|
|
+ if: env.SHOULD_DEPLOY == 'yes'
|
|
|
|
|
|
- name: Upload assets
|
|
|
uses: actions/upload-artifact@v3
|
|
@@ -262,7 +257,7 @@ jobs:
|
|
|
name: reh-${{ matrix.vscode_arch }}
|
|
|
path: assets/
|
|
|
retention-days: 3
|
|
|
- if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'no' && github.event.inputs.generate_assets == 'true'
|
|
|
+ if: env.SHOULD_DEPLOY == 'no' && github.event.inputs.generate_assets == 'true'
|
|
|
|
|
|
aur:
|
|
|
needs:
|