Skip to content

Initial Commit

Initial Commit #1

name: Build & Deploy TorizonCore

Check failure on line 1 in .github/workflows/build-application.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-application.yaml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: build-release
on:
- push
jobs:
build-release:
runs-on: ubuntu-latest
name: Build & Release
build-deploy:
runs-on: ubuntu-latest
name: Build & Deploy
steps:
- uses: actions/checkout@v3
- name: Build
shell: pwsh
run: |
./.vscode/tasks.ps1 run build-debug-local
- name: Build Release
shell: pwsh
run: |
./.vscode/tasks.ps1 run publish-release-amd64
- name: Release
shell: pwsh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
$_tag = Get-Content -Path ./VERSION
zip -r "Torizon-WSL2-Welcome-$_tag.zip" ./bin/Release/net8.0/linux-x64/publish/
gh release create `
--target main $_tag `
-t "Torizon WSL2 Welcome $_tag" `
-n "Torizon WSL2 Welcome $_tag" `
"Torizon-WSL2-Welcome-$_tag.zip"