|
@@ -138,7 +138,7 @@ jobs:
|
|
|
package-windows:
|
|
package-windows:
|
|
|
name: Package for Windows
|
|
name: Package for Windows
|
|
|
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/tags/v'))
|
|
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/tags/v'))
|
|
|
- environment: signing
|
|
|
|
|
|
|
+ environment: release
|
|
|
runs-on: windows-latest
|
|
runs-on: windows-latest
|
|
|
steps:
|
|
steps:
|
|
|
- name: Set git to use LF
|
|
- name: Set git to use LF
|
|
@@ -254,7 +254,7 @@ jobs:
|
|
|
package-macos:
|
|
package-macos:
|
|
|
name: Package for macOS
|
|
name: Package for macOS
|
|
|
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/tags/v'))
|
|
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/tags/v'))
|
|
|
- environment: signing
|
|
|
|
|
|
|
+ environment: release
|
|
|
runs-on: macos-latest
|
|
runs-on: macos-latest
|
|
|
steps:
|
|
steps:
|
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/checkout@v4
|
|
@@ -353,7 +353,7 @@ jobs:
|
|
|
notarize-macos:
|
|
notarize-macos:
|
|
|
name: Notarize for macOS
|
|
name: Notarize for macOS
|
|
|
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/tags/v'))
|
|
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/tags/v'))
|
|
|
- environment: signing
|
|
|
|
|
|
|
+ environment: release
|
|
|
needs:
|
|
needs:
|
|
|
- package-macos
|
|
- package-macos
|
|
|
- basics
|
|
- basics
|
|
@@ -496,7 +496,7 @@ jobs:
|
|
|
sign-for-upgrade:
|
|
sign-for-upgrade:
|
|
|
name: Sign for upgrade
|
|
name: Sign for upgrade
|
|
|
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/tags/v'))
|
|
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/tags/v'))
|
|
|
- environment: signing
|
|
|
|
|
|
|
+ environment: release
|
|
|
needs:
|
|
needs:
|
|
|
- basics
|
|
- basics
|
|
|
- package-windows
|
|
- package-windows
|
|
@@ -628,7 +628,7 @@ jobs:
|
|
|
publish-nightly:
|
|
publish-nightly:
|
|
|
name: Publish nightly build
|
|
name: Publish nightly build
|
|
|
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && startsWith(github.ref, 'refs/heads/release-nightly')
|
|
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && startsWith(github.ref, 'refs/heads/release-nightly')
|
|
|
- environment: signing
|
|
|
|
|
|
|
+ environment: release
|
|
|
needs:
|
|
needs:
|
|
|
- sign-for-upgrade
|
|
- sign-for-upgrade
|
|
|
- notarize-macos
|
|
- notarize-macos
|
|
@@ -679,7 +679,7 @@ jobs:
|
|
|
publish-release-files:
|
|
publish-release-files:
|
|
|
name: Publish release files
|
|
name: Publish release files
|
|
|
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/tags/v'))
|
|
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/tags/v'))
|
|
|
- environment: signing
|
|
|
|
|
|
|
+ environment: release
|
|
|
needs:
|
|
needs:
|
|
|
- sign-for-upgrade
|
|
- sign-for-upgrade
|
|
|
- package-debian
|
|
- package-debian
|
|
@@ -745,7 +745,7 @@ jobs:
|
|
|
publish-apt:
|
|
publish-apt:
|
|
|
name: Publish APT
|
|
name: Publish APT
|
|
|
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/tags/v'))
|
|
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/tags/v'))
|
|
|
- environment: signing
|
|
|
|
|
|
|
+ environment: release
|
|
|
needs:
|
|
needs:
|
|
|
- basics
|
|
- basics
|
|
|
- package-debian
|
|
- package-debian
|
|
@@ -828,7 +828,7 @@ jobs:
|
|
|
name: Build and push Docker images
|
|
name: Build and push Docker images
|
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
|
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/infrastructure' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/tags/v'))
|
|
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/infrastructure' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/tags/v'))
|
|
|
- environment: docker
|
|
|
|
|
|
|
+ environment: release
|
|
|
strategy:
|
|
strategy:
|
|
|
matrix:
|
|
matrix:
|
|
|
pkg:
|
|
pkg:
|