Titano: Library completion, remote editing, accessibility and RTL pass, remaining translations #3
No files matched your search
@@ -123,29 +123,36 @@ jobs:
|
|||||||
dotnet publish src/Titano.Server/Titano.Server.csproj -c Release -r win-x64 --self-contained \
|
dotnet publish src/Titano.Server/Titano.Server.csproj -c Release -r win-x64 --self-contained \
|
||||||
-p:PublishSingleFile=true -o out/publish/Titano.Server
|
-p:PublishSingleFile=true -o out/publish/Titano.Server
|
||||||
|
|
||||||
|
# Artifacts are conveniences: a full artifact storage quota must not fail a job whose checks passed, and short
|
||||||
|
# retention keeps the storage from filling up again.
|
||||||
- name: Upload test results
|
- name: Upload test results
|
||||||
if: always()
|
if: always()
|
||||||
|
continue-on-error: true
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: test-results-${{ matrix.os }}
|
name: test-results-${{ matrix.os }}
|
||||||
path: out/junit/
|
path: out/junit/
|
||||||
if-no-files-found: ignore
|
if-no-files-found: ignore
|
||||||
|
retention-days: 7
|
||||||
|
|
||||||
- name: Upload screenshots
|
- name: Upload screenshots
|
||||||
if: runner.os == 'Windows' && always()
|
if: runner.os == 'Windows' && always()
|
||||||
|
continue-on-error: true
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: screenshots
|
name: screenshots
|
||||||
path: out/screenshots/
|
path: out/screenshots/
|
||||||
if-no-files-found: ignore
|
if-no-files-found: ignore
|
||||||
|
retention-days: 1 # read once by the screenshots job below; the ci-screenshots branch keeps the latest set
|
||||||
|
|
||||||
- name: Upload Windows programs
|
- name: Upload Windows programs
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
|
continue-on-error: true
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: titano-win-x64-${{ github.sha }}
|
name: titano-win-x64-${{ github.sha }}
|
||||||
path: out/publish/
|
path: out/publish/
|
||||||
retention-days: 14
|
retention-days: 3
|
||||||
|
|
||||||
screenshots:
|
screenshots:
|
||||||
name: Screenshots branch
|
name: Screenshots branch
|
||||||
@@ -205,11 +212,13 @@ jobs:
|
|||||||
run: dotnet run --project tests/Titano.Server.Tests -c Release -- --junit out/junit/server-pg${{ matrix.pg }}.xml
|
run: dotnet run --project tests/Titano.Server.Tests -c Release -- --junit out/junit/server-pg${{ matrix.pg }}.xml
|
||||||
- name: Upload test results
|
- name: Upload test results
|
||||||
if: always()
|
if: always()
|
||||||
|
continue-on-error: true
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: test-results-pg${{ matrix.pg }}
|
name: test-results-pg${{ matrix.pg }}
|
||||||
path: out/junit/
|
path: out/junit/
|
||||||
if-no-files-found: ignore
|
if-no-files-found: ignore
|
||||||
|
retention-days: 7
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
name: Docker image
|
name: Docker image
|
||||||
@@ -231,6 +240,8 @@ jobs:
|
|||||||
- uses: docker/setup-buildx-action@v3
|
- uses: docker/setup-buildx-action@v3
|
||||||
- name: Build image
|
- name: Build image
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
|
env:
|
||||||
|
DOCKER_BUILD_RECORD_UPLOAD: "false" # no build-record artifact: nothing reads it
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: deploy/docker/Dockerfile
|
file: deploy/docker/Dockerfile
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ jobs:
|
|||||||
id: image
|
id: image
|
||||||
run: echo "name=ghcr.io/${GITHUB_REPOSITORY_OWNER,,}/titano-server" >> "$GITHUB_OUTPUT"
|
run: echo "name=ghcr.io/${GITHUB_REPOSITORY_OWNER,,}/titano-server" >> "$GITHUB_OUTPUT"
|
||||||
- uses: docker/build-push-action@v6
|
- uses: docker/build-push-action@v6
|
||||||
|
env:
|
||||||
|
DOCKER_BUILD_RECORD_UPLOAD: "false" # no build-record artifact: nothing reads it
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: deploy/docker/Dockerfile
|
file: deploy/docker/Dockerfile
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload results
|
- name: Upload results
|
||||||
if: always()
|
if: always()
|
||||||
|
continue-on-error: true # the timings are also in the job summary
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: perf-results
|
name: perf-results
|
||||||
@@ -75,3 +76,4 @@ jobs:
|
|||||||
out/junit/
|
out/junit/
|
||||||
out-perf.log
|
out-perf.log
|
||||||
if-no-files-found: ignore
|
if-no-files-found: ignore
|
||||||
|
retention-days: 30
|
||||||
@@ -171,6 +171,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: release-windows
|
name: release-windows
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
retention-days: 3 # hand-off to the publish job; the GitHub release keeps the files
|
||||||
path: |
|
path: |
|
||||||
out/release/
|
out/release/
|
||||||
out/release-notes.md
|
out/release-notes.md
|
||||||
@@ -198,6 +199,8 @@ jobs:
|
|||||||
id: image
|
id: image
|
||||||
run: echo "name=ghcr.io/${GITHUB_REPOSITORY_OWNER,,}/titano-server" >> "$GITHUB_OUTPUT"
|
run: echo "name=ghcr.io/${GITHUB_REPOSITORY_OWNER,,}/titano-server" >> "$GITHUB_OUTPUT"
|
||||||
- uses: docker/build-push-action@v6
|
- uses: docker/build-push-action@v6
|
||||||
|
env:
|
||||||
|
DOCKER_BUILD_RECORD_UPLOAD: "false" # no build-record artifact: nothing reads it
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: deploy/docker/Dockerfile
|
file: deploy/docker/Dockerfile
|
||||||
|
|||||||
Reference in new issue
Block a user