Files
adaptive-music/.github/workflows/release.yml
T

30 lines
968 B
YAML

name: Validate and generate manual release
on:
push:
tags: ['v*']
workflow_dispatch:
permissions:
contents: read
jobs:
package:
# Existing shell runner only; this workflow provisions no VM/container/service.
runs-on: [self-hosted, linux, adaptive-music-release]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
persist-credentials: false
- name: Validate and generate offline artifacts
env:
RELEASE_REPOSITORY: ${{ vars.RELEASE_REPOSITORY }}
run: |
node --version
node --test tests/js/*.test.mjs
python3 -m unittest discover -s tests -v
python3 scripts/audit_repository.py
python3 scripts/ci_release.py
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: adaptive-music-manual-release
path: dist/releases/
if-no-files-found: error