Skip to content

Commit

Permalink
build workflow fix and v1.3.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
BySuspect committed Oct 25, 2024
1 parent fdc0884 commit 26a0a6c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,25 +131,29 @@ jobs:
if: env.EndProcess == 'false'
run: dotnet restore

- name: Build for x64
# 86 bit build

- name: Build for x86
if: env.EndProcess == 'false'
run: dotnet publish --configuration Release --runtime win-x64 --self-contained false --output ./bin/Publish/win-x64
run: dotnet publish --configuration Release --runtime win-x86 --self-contained false --output ./bin/Publish/win-x86

- name: Zip x64
- name: Zip x86
if: env.EndProcess == 'false'
run: Compress-Archive -Path "./bin/Publish/win-x64/*" -DestinationPath "./bin/Publish/win-x64.zip"
run: Compress-Archive -Path "./bin/Publish/win-x86/*" -DestinationPath "./bin/Publish/win-x86.zip"

- name: Upload x64 Release Asset
- name: Upload x86 Release Asset
if: env.EndProcess == 'false'
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./bin/Publish/win-x64.zip
asset_name: win-x64.zip
asset_path: ./bin/Publish/win-x86.zip
asset_name: win-x86.zip
asset_content_type: application/zip

# 64 bit build

- name: Build for x64
if: env.EndProcess == 'false'
run: dotnet publish --configuration Release --runtime win-x64 --self-contained false --output ./bin/Publish/win-x64
Expand Down
6 changes: 3 additions & 3 deletions AutoPixAiCreditClaimer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
</PropertyGroup>

<PropertyGroup>
<Version>1.3.0</Version>
<FileVersion>1.3.0</FileVersion>
<AssemblyVersion>1.3.0</AssemblyVersion>
<Version>1.3.1</Version>
<FileVersion>1.3.1</FileVersion>
<AssemblyVersion>1.3.1</AssemblyVersion>
<AssemblyName>AutoPixAiCreditClaimer</AssemblyName>
<Authors>BySuspect</Authors>
<Description>Automation for Pixai.art</Description>
Expand Down

0 comments on commit 26a0a6c

Please sign in to comment.