Skip to content

Merge pull request #49 from azhuge233/dependabot/nuget/deps-17b7a8bd87 #91

Merge pull request #49 from azhuge233/dependabot/nuget/deps-17b7a8bd87

Merge pull request #49 from azhuge233/dependabot/nuget/deps-17b7a8bd87 #91

Workflow file for this run

name: Publish
on:
workflow_dispatch:
push:
branches: [ master ]
paths-ignore:
- '**/**.md'
- '.github/**'
jobs:
publish:
name: Publish the app
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout source code
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Publish
run: |
dotnet restore
dotnet publish -c release -r win-x64 -p:PublishDir="$GITHUB_WORKSPACE/bin/release/win-x64" -p:PublishSingleFile=true --sc
- name: Install Zip
uses: montudor/action-zip@v1
- name: Create Zip
run: |
zip -qq -r GOG-win-x64.zip win-x64/*
working-directory: bin/release
- name: Create Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: false
files: bin/release/*.zip