some kind of retardation
This commit is contained in:
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
@@ -19,24 +19,19 @@ jobs:
|
||||
|
||||
- uses: montudor/action-zip@v1
|
||||
|
||||
- name: run minver
|
||||
id: version
|
||||
uses: thefringeninja/action-minver@2.0.0-preview1
|
||||
with:
|
||||
auto-increment: patch
|
||||
build-metadata: ${{ github.sha }}
|
||||
default-pre-release-phase: preview
|
||||
minimum-major-minor: 0.0.1
|
||||
tag-prefix: v
|
||||
|
||||
- run: dotnet nuget add source --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json
|
||||
name: Add nuget source
|
||||
|
||||
- run: dotnet restore CringeLauncher/CringeLauncher.csproj --locked-mode
|
||||
name: Restore Project
|
||||
|
||||
- run: dotnet publish -c Release -o ./pub CringeLauncher/CringeLauncher.csproj --no-restore /p:PackageVersion="${{ steps.version.outputs.version }}" /p:AssemblyVersion="${{ steps.version.outputs.version }}"
|
||||
id: publish
|
||||
name: Build Project
|
||||
|
||||
- run: 7z a ../pub.zip ./
|
||||
working-directory: ./pub
|
||||
name: Zip Results
|
||||
|
||||
- name: Create Draft Release
|
||||
id: create_release
|
||||
@@ -44,8 +39,8 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: v${{ steps.version.outputs.version }}
|
||||
release_name: Launcher v${{ steps.version.outputs.version }}
|
||||
tag_name: v${{ steps.publish.outputs.version }}
|
||||
release_name: Launcher v${{ steps.publish.outputs.version }}
|
||||
draft: true
|
||||
prerelease: false
|
||||
|
||||
|
Reference in New Issue
Block a user