Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/ci-copr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,18 @@ on:
required: false

jobs:
organization:
uses: LizardByte/.github/.github/workflows/__call-organization.yml@master

call-copr-ci:
needs: organization
if: needs.organization.outputs.allowed == 'true'
permissions:
contents: read
uses: LizardByte/copr-ci/.github/workflows/copr-ci.yml@master
with:
copr_pr_webhook_token: "05fc9b07-a19b-4f83-89b2-ae1e7e0b5282"
github_org_owner: LizardByte
github_org_owner: ${{ github.repository_owner }}
Comment thread
ReenigneArcher marked this conversation as resolved.
Resolved
copr_ownername: lizardbyte
auto_update_package: true
job_timeout: 90
Expand All @@ -36,9 +41,10 @@ jobs:
name: Release
if:
github.event_name == 'release' &&
startsWith(github.repository, 'LizardByte/') &&
needs.organization.outputs.allowed == 'true' &&
github.event.release.prerelease == true
needs:
- organization
- call-copr-ci
permissions:
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-freebsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:
-DSUNSHINE_ENABLE_PORTAL=ON \
-DSUNSHINE_ENABLE_WAYLAND=ON \
-DSUNSHINE_ENABLE_X11=ON \
-DSUNSHINE_PUBLISHER_NAME="${GITHUB_REPOSITORY_OWNER}" \
-DSUNSHINE_PUBLISHER_NAME="LizardByte" \
-DSUNSHINE_PUBLISHER_WEBSITE="https://app.lizardbyte.dev" \
-DSUNSHINE_PUBLISHER_ISSUE_URL="https://app.lizardbyte.dev/support"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
chmod +x ./scripts/linux_build.sh
echo "::add-matcher::.github/matchers/gcc.json"
./scripts/linux_build.sh \
--publisher-name="${GITHUB_REPOSITORY_OWNER}" \
--publisher-name="LizardByte" \
--publisher-website="https://app.lizardbyte.dev" \
--publisher-issue-url="https://app.lizardbyte.dev/support" \
--skip-cleanup \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ jobs:
-DOpus_ROOT_DIR="$(brew --prefix opus 2>/dev/null)" \
-DQt6_DIR="$(brew --prefix qtbase 2>/dev/null)/lib/cmake/Qt6" \
-DQt6Svg_DIR="$(brew --prefix qtsvg 2>/dev/null)/lib/cmake/Qt6Svg" \
-DSUNSHINE_PUBLISHER_NAME="${GITHUB_REPOSITORY_OWNER}" \
-DSUNSHINE_PUBLISHER_NAME="LizardByte" \
-DSUNSHINE_PUBLISHER_WEBSITE="https://app.lizardbyte.dev" \
-DSUNSHINE_PUBLISHER_ISSUE_URL="https://app.lizardbyte.dev/support" \
-DAPPLE_CODESIGN_IDENTITY="${APPLE_CODESIGN_IDENTITY}"
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,22 @@ concurrency:
cancel-in-progress: true

jobs:
organization:
uses: LizardByte/.github/.github/workflows/__call-organization.yml@master

npm:
needs: organization
name: NPM
if: >-
github.event.action == 'released' &&
github.repository_owner == 'LizardByte'
needs.organization.outputs.allowed == 'true'
permissions:
contents: read
id-token: write # required for provenance and OIDC
packages: write
uses: LizardByte/.github/.github/workflows/__call-update-npm.yml@master
secrets:
GH_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
with:
release_version: ${{ github.event.release.tag_name }}

Expand All @@ -39,8 +45,10 @@ jobs:

cloudsmith:
name: Cloudsmith
if: startsWith(github.repository, 'LizardByte/')
needs: copr
if: needs.organization.outputs.allowed == 'true'
needs:
- organization
- copr
permissions:
contents: read
uses: ./.github/workflows/ci-cloudsmith.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ jobs:
-DBUILD_WERROR=ON \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DSUNSHINE_ASSETS_DIR=assets \
-DSUNSHINE_PUBLISHER_NAME="${GITHUB_REPOSITORY_OWNER}" \
-DSUNSHINE_PUBLISHER_NAME="LizardByte" \
-DSUNSHINE_PUBLISHER_WEBSITE="https://app.lizardbyte.dev" \
-DSUNSHINE_PUBLISHER_ISSUE_URL="https://app.lizardbyte.dev/support"
echo "::add-matcher::.github/matchers/gcc.json"
Expand Down
17 changes: 13 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,22 @@ concurrency:
cancel-in-progress: true

jobs:
organization:
uses: LizardByte/.github/.github/workflows/__call-organization.yml@master

github-env:
name: GitHub Env Debug
permissions:
contents: read
uses: LizardByte/.github/.github/workflows/__call-github-env.yml@master

release-setup:
needs: organization
name: Release Setup
outputs:
publish_release: ${{ steps.release-setup.outputs.publish_release }}
publish_release: >-
${{ needs.organization.outputs.allowed == 'true' &&
steps.release-setup.outputs.publish_release == 'true' }}
release_body: ${{ steps.release-setup.outputs.release_body }}
release_commit: ${{ steps.release-setup.outputs.release_commit }}
release_generate_release_notes: ${{ steps.release-setup.outputs.release_generate_release_notes }}
Expand Down Expand Up @@ -202,8 +208,9 @@ jobs:
if: >-
always() &&
!cancelled() &&
startsWith(github.repository, 'LizardByte/')
needs.organization.outputs.allowed == 'true'
needs:
- organization
- build-freebsd
- build-linux
- build-archlinux
Expand Down Expand Up @@ -292,8 +299,9 @@ jobs:
name: Release
if:
needs.release-setup.outputs.publish_release == 'true' &&
startsWith(github.repository, 'LizardByte/')
needs.organization.outputs.allowed == 'true'
needs:
- organization
- release-setup
- build-archlinux
- build-alpine
Expand Down Expand Up @@ -334,8 +342,9 @@ jobs:
name: Release Homebrew Beta
if:
needs.release-setup.outputs.publish_release == 'true' &&
startsWith(github.repository, 'LizardByte/')
needs.organization.outputs.allowed == 'true'
needs:
- organization
- release-setup
- build-homebrew
- release
Expand Down
Loading