Initial WIP commit
Some checks failed
Deploy to Gitea Releases / deploy-to-gitea-releases (push) Failing after 9s
Some checks failed
Deploy to Gitea Releases / deploy-to-gitea-releases (push) Failing after 9s
This commit is contained in:
36
.gitea/workflows/main.yml
Normal file
36
.gitea/workflows/main.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
name: Deploy to Gitea Releases
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
deploy-to-gitea-releases:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
container:
|
||||
image: ghcr.io/catthehacker/ubuntu:dotnet-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Get next version
|
||||
uses: reecetech/version-increment@2024.4.3
|
||||
id: version
|
||||
with:
|
||||
scheme: calver
|
||||
|
||||
- name: Publish Application
|
||||
run: dotnet publish HardwareMonitorStatusWindow.csproj -r win-x64 -c Debug -o publish
|
||||
|
||||
- name: Create Velopack Release
|
||||
run: |
|
||||
export PATH="$PATH:/root/.dotnet/tools"
|
||||
dotnet tool install -g vpk
|
||||
vpk [win] download gitea --channel win-x64 --repoUrl https://gitea.kaczorzoo.net/ckaczor/HardwareMonitorStatusWindow
|
||||
vpk [win] pack --channel win-x64 -u HardwareMonitorStatusWindow -v ${{ steps.version.outputs.version }} -p publish --packTitle "Hardware Monitor Status Window" --shortcuts StartMenuRoot --framework net10.0-x64-desktop
|
||||
vpk [win] upload gitea --channel win-x64 --repoUrl https://gitea.kaczorzoo.net/ckaczor/HardwareMonitorStatusWindow --publish --releaseName "${{ steps.version.outputs.version }}" --token ${{ secrets.VPK_TOKEN }}
|
||||
Reference in New Issue
Block a user