Skip to content

fix: Fix .vngod not found when add new games #7

fix: Fix .vngod not found when add new games

fix: Fix .vngod not found when add new games #7

Workflow file for this run

name: Create Release on Tag Push
env:
PUBLISH_PATH: "./publish"
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
on:
push:
tags:
- '*' # On tag push
permissions:
contents: write
jobs:
create_release:
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Publish
run: dotnet publish --output '${{ env.PUBLISH_PATH }}'
- name: Compress release artifact
run: 7z a VNGod.zip ${{ env.PUBLISH_PATH }}
- name: Create Release using gh CLI
run: |
gh release create ${{ github.ref_name }} --title "Release ${{ github.ref_name }}" --generate-notes
gh release upload ${{ github.ref_name }} VNGod.zip