Simplify workflows remove unused parameters (#2182)

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2025-03-04 09:18:37 +00:00 committed by GitHub
parent f733c2e942
commit e6ab8743d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 2 additions and 11 deletions

View File

@ -92,7 +92,6 @@ jobs:
uses: ./.github/workflows/build_linux.yaml uses: ./.github/workflows/build_linux.yaml
with: with:
arch: ${{ matrix.arch }} arch: ${{ matrix.arch }}
config: ${{ needs.prepare.outputs.config }}
sqlcipher: ${{ matrix.sqlcipher }} sqlcipher: ${{ matrix.sqlcipher }}
version: ${{ needs.prepare.outputs.nightly-version }} version: ${{ needs.prepare.outputs.nightly-version }}

View File

@ -35,7 +35,6 @@ jobs:
sqlcipher: [system, static] sqlcipher: [system, static]
arch: [amd64, arm64] arch: [amd64, arm64]
with: with:
config: ${{ github.event.pull_request.base.ref == 'develop' && 'element.io/nightly' || 'element.io/release' }}
sqlcipher: ${{ matrix.sqlcipher }} sqlcipher: ${{ matrix.sqlcipher }}
arch: ${{ matrix.arch }} arch: ${{ matrix.arch }}

View File

@ -8,10 +8,6 @@ on:
type: string type: string
required: true required: true
description: "The architecture to build for, one of 'amd64' | 'arm64'" description: "The architecture to build for, one of 'amd64' | 'arm64'"
config:
type: string
required: true
description: "The config directory to use"
version: version:
type: string type: string
required: false required: false

View File

@ -34,12 +34,9 @@ on:
packages-dir: packages-dir:
description: "The directory non-deb packages for this run should live in within packages.element.io" description: "The directory non-deb packages for this run should live in within packages.element.io"
value: ${{ inputs.nightly && 'nightly' || 'desktop' }} value: ${{ inputs.nightly && 'nightly' || 'desktop' }}
# These are just simple pass-throughs of the input to simplify reuse of complex inline conditions # This is just a simple pass-through of the input to simplify reuse of complex inline conditions
config:
description: "The relative path to the config file for this run"
value: ${{ inputs.config }}
deploy: deploy:
description: "The relative path to the config file for this run" description: "Whether the build should be deployed to production"
value: ${{ inputs.deploy }} value: ${{ inputs.deploy }}
permissions: {} permissions: {}
jobs: jobs: