Skip to content

Test notify success

Test notify success #3

Workflow file for this run

name: Build latest (Vita)
on: [push]
concurrency:
group: ${{ github.ref }}-vita
cancel-in-progress: true
jobs:
build-Vita:
if: github.ref_name == github.event.repository.default_branch
runs-on: ubuntu-latest
container:
image: gnuton/vitasdk-docker:latest
steps:
- uses: actions/checkout@v3
- name: Compile Vita build
id: compile
run: |
make vita
- uses: ./.github/actions/notify_failure
if: ${{ always() && steps.compile.outcome == 'failure' }}
with:
NOTIFY_MESSAGE: 'Failed to compile Vita build'
WEBHOOK_URL: '${{ secrets.WEBHOOK_URL }}'
- uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'ClassiCube-vita.vpk'
DEST_NAME: 'ClassiCube-vita.vp'
- uses: ./.github/actions/notify_success
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
DESTINATION_URL: '${{ secrets.NOTIFY_URL }}'
WORKFLOW_NAME: 'Vita'