Skip to content

Commit

Permalink
Fix Github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Laeng committed Jun 4, 2021
1 parent 9323c62 commit 070b2ac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- name: Setup nuget
uses: nuget/setup-nuget@v1



- name: Build app
run: msbuild SCTools\SCTools.sln /t:restore /t:SCTool_Redesigned:Rebuild /p:Configuration=Release /p:Platform="Any CPU" /p:RestorePackagesConfig=true -m
Expand All @@ -28,7 +29,7 @@ jobs:
uses: papeloto/action-zip@v1
with:
files: SCTools\SCTool_Redesigned\bin\Release
dest: StagonPatcher.zip
dest: Release.zip

- name: Delete tag and release
uses: dev-drprasad/[email protected]
Expand All @@ -42,8 +43,8 @@ jobs:
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: StagonPatcher.zip
asset_name: StagonPatcher.zip
file: Release.zip
asset_name: Release.zip
tag: dev
prerelease: true
overwrite: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
uses: papeloto/action-zip@v1
with:
files: SCTools\SCTool_Redesigned\bin\Release
dest: StagonPatcher.zip
dest: Release.zip

- name: Get release
id: get_release
Expand All @@ -54,6 +54,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: ./StagonPatcher.zip
asset_name: ShatgonPatcher.zip
asset_path: ./Release.zip
asset_name: Release.zip
asset_content_type: application/zip

0 comments on commit 070b2ac

Please sign in to comment.