Compare commits

...
Author SHA1 Message Date
Vasilii Rogin b55fb81f2d Remove conditions 2025-09-08 22:18:54 +03:00
Vasilii Rogin 9d4405d955 Add artifacts as deployment 2025-09-08 22:16:35 +03:00
+40
View File
@@ -14,6 +14,27 @@ defaults:
shell: bash
jobs:
mark_deployment_as_started:
name: Mark deployment as started
runs-on: ubuntu-latest
permissions:
deployments: write
contents: read
outputs:
deployment_id: ${{ steps.start.outputs.deployment_id }}
env: ${{ steps.start.outputs.env }}
steps:
- name: start deployment
id: start
uses: bobheadxi/deployments@v1
with:
ref: ${{ github.event.pull_request.head.sha }}
step: start
debug: true
env: artifacts-${{ github.event.pull_request.number }}
static-analysis:
name: Static analysis
@@ -362,6 +383,25 @@ jobs:
path: out/build/windows-${{ matrix.arch }}/RelWithDebInfo/fallout2-ce-${{ matrix.arch }}.exe
retention-days: 7
mark_deployment_as_completed:
name: Mark deployment as completed
runs-on: ubuntu-latest
permissions:
deployments: write
contents: read
needs: [mark_deployment_as_started, android, ios, linux, linux-armhf, linux-arm64, macos, windows]
steps:
- name: Update deployment status
uses: bobheadxi/deployments@v1
with:
step: finish
status: success
debug: true
ref: ${{ github.event.pull_request.head.sha }}
env: ${{ needs.mark_deployment_as_started.outputs.env }}
deployment_id: ${{ needs.mark_deployment_as_started.outputs.deployment_id }}
env_url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
release:
name: Release Continuous build