Merge pull request #388 from teeminus/update #111
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build-1: | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: false | |
from_artifact: false | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-2: | |
needs: build-1 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-3: | |
needs: build-2 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-4: | |
needs: build-3 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-5: | |
needs: build-4 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-6: | |
needs: build-5 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-7: | |
needs: build-6 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-8: | |
needs: build-7 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-9: | |
needs: build-8 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-10: | |
needs: build-9 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-11: | |
needs: build-10 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-12: | |
needs: build-11 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-13: | |
needs: build-12 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-14: | |
needs: build-13 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-15: | |
needs: build-14 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-16: | |
needs: build-15 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-x86-1: | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: false | |
from_artifact: false | |
x86: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-x86-2: | |
needs: build-x86-1 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
x86: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-x86-3: | |
needs: build-x86-2 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
x86: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-x86-4: | |
needs: build-x86-3 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
x86: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-x86-5: | |
needs: build-x86-4 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
x86: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-x86-6: | |
needs: build-x86-5 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
x86: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-x86-7: | |
needs: build-x86-6 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
x86: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-x86-8: | |
needs: build-x86-7 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
x86: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-x86-9: | |
needs: build-x86-8 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
x86: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-x86-10: | |
needs: build-x86-9 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
x86: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-x86-11: | |
needs: build-x86-10 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
x86: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-x86-12: | |
needs: build-x86-11 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
x86: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-x86-13: | |
needs: build-x86-12 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
x86: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-x86-14: | |
needs: build-x86-13 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
x86: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-x86-15: | |
needs: build-x86-14 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
x86: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
build-x86-16: | |
needs: build-x86-15 | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Init | |
run: Copy-Item -Path . -Destination "C:\ungoogled-chromium-windows" -Recurse | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/stage | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/stage | |
with: | |
finished: ${{ join(needs.*.outputs.finished) }} | |
from_artifact: true | |
x86: true | |
outputs: | |
finished: ${{ steps.stage.outputs.finished }} | |
publish-release: | |
needs: [build-16, build-x86-16] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download package | |
uses: actions/download-artifact@v3 | |
with: | |
name: chromium | |
- name: Download x86 package | |
uses: actions/download-artifact@v3 | |
with: | |
name: chromium-x86 | |
- name: Publish release | |
id: publish | |
uses: softprops/action-gh-release@v1 | |
with: | |
fail_on_unmatched_files: true | |
files: | | |
ungoogled-chromium* | |
outputs: | |
assets: ${{ steps.publish.outputs.assets }} | |
publish-winget: | |
needs: publish-release | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Stage | |
run: npm install | |
working-directory: ./.github/actions/winget | |
- name: Run Stage | |
id: stage | |
uses: ./.github/actions/winget | |
with: | |
token: ${{ secrets.PAT }} | |
version: ${{ github.ref_name }} | |
assets: ${{ needs.publish-release.outputs.assets }} |