diff --git a/.github/workflows/publish-stable.yml b/.github/workflows/publish-stable.yml index 05c35258fc..2f41898550 100644 --- a/.github/workflows/publish-stable.yml +++ b/.github/workflows/publish-stable.yml @@ -6,6 +6,12 @@ concurrency: on: workflow_dispatch: + inputs: + private_commit_hash: + description: 'Commit hash for SunrisePrivate (leave empty for latest). USE ONLY IF YOU KNOW WHAT ARE YOU DOING' + required: false + type: string + default: '' jobs: build: @@ -34,6 +40,7 @@ jobs: repository: ${{ secrets.SUNRISE_PRIVATE_REPO }} path: SunrisePrivate ssh-key: ${{ secrets.SUNRISE_PRIVATE_REPO_SSH_KEY }} + ref: ${{ inputs.private_commit_hash }} - name: Move Sunrise Private files run: python3 Tools/_sunrise/move_private.py --clone-dir "SunrisePrivate" --target-dirs "Resources" "Content.Client" "Content.Server" "Content.Shared" @@ -41,7 +48,7 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v4.1.0 with: - dotnet-version: 9.0.x + dotnet-version: 10.0.x - name: Get Engine Tag run: |