mirror of
https://github.com/4sval/FModel.git
synced 2026-03-21 17:24:26 -05:00
use zip
This commit is contained in:
parent
547dadbfc2
commit
0f20b543ca
10
.github/workflows/qa.yml
vendored
10
.github/workflows/qa.yml
vendored
|
|
@ -23,13 +23,13 @@ jobs:
|
||||||
run: dotnet restore FModel
|
run: dotnet restore FModel
|
||||||
|
|
||||||
- name: .NET Publish
|
- name: .NET Publish
|
||||||
run: dotnet publish FModel -c Release --no-restore --no-self-contained -r win-x64 -f net8.0-windows -o "./FModel/bin/Publish/" -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:DebugType=None -p:GenerateDocumentationFile=false -p:DebugSymbols=false
|
run: dotnet publish "./FModel/FModel.csproj" -c Release --no-restore --no-self-contained -r win-x64 -f net8.0-windows -o "./FModel/bin/Publish/" -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:DebugType=None -p:GenerateDocumentationFile=false -p:DebugSymbols=false
|
||||||
|
|
||||||
- name: ZIP File
|
- name: ZIP File
|
||||||
uses: thedoctor0/zip-release@0.7.6
|
uses: thedoctor0/zip-release@0.7.6
|
||||||
with:
|
with:
|
||||||
type: 7z
|
type: zip
|
||||||
filename: ${{ github.sha }}.7z # will end up in working directory not the Publish folder
|
filename: ${{ github.sha }}.zip # will end up in working directory not the Publish folder
|
||||||
path: ./FModel/bin/Publish/FModel.exe
|
path: ./FModel/bin/Publish/FModel.exe
|
||||||
|
|
||||||
- name: Edit QA Artifact
|
- name: Edit QA Artifact
|
||||||
|
|
@ -39,7 +39,7 @@ jobs:
|
||||||
name: 'FModel QA Testing'
|
name: 'FModel QA Testing'
|
||||||
body: 'Dev builds'
|
body: 'Dev builds'
|
||||||
tag: 'qa'
|
tag: 'qa'
|
||||||
artifacts: ${{ github.sha }}.7z
|
artifacts: ${{ github.sha }}.zip
|
||||||
prerelease: true
|
prerelease: true
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
|
|
||||||
|
|
@ -62,4 +62,4 @@ jobs:
|
||||||
url: "https://api.fmodel.app/v1/infos/${{ secrets.QA_ID }}"
|
url: "https://api.fmodel.app/v1/infos/${{ secrets.QA_ID }}"
|
||||||
method: "PATCH"
|
method: "PATCH"
|
||||||
bearerToken: ${{ fromJson(steps.fmodel_auth.outputs.response).accessToken }}
|
bearerToken: ${{ fromJson(steps.fmodel_auth.outputs.response).accessToken }}
|
||||||
data: '{"version": "${{ steps.package_version.outputs.version }}-dev+${{ github.sha }}", "downloadUrl": "https://github.com/4sval/FModel/releases/download/qa/${{ github.sha }}.7z"}'
|
data: '{"version": "${{ steps.package_version.outputs.version }}-dev+${{ github.sha }}", "downloadUrl": "https://github.com/4sval/FModel/releases/download/qa/${{ github.sha }}.zip"}'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user