Skip to content

Commit

Permalink
Merge pull request #422 from pizzaboxer/version-2.4.0
Browse files Browse the repository at this point in the history
Version 2.4.0
  • Loading branch information
pizzaboxer committed Jul 24, 2023
2 parents 3b9ce60 + a06c71b commit 34bba49
Show file tree
Hide file tree
Showing 165 changed files with 6,373 additions and 3,923 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,33 @@ jobs:
strategy:
matrix:
configuration: [Debug, Release]
platform: [x64]

runs-on: windows-latest

steps:
- uses: actions/checkout@v3
with:
submodules: true

- uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.x'
dotnet-version: '6.0.x'

- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --no-restore

- name: Publish
run: dotnet publish -p:PublishSingleFile=true -r win-${{ matrix.platform }} -c ${{ matrix.configuration }} --self-contained false .\Bloxstrap\Bloxstrap.csproj
run: dotnet publish -p:PublishSingleFile=true -p:CommitHash=${{ github.sha }} -p:CommitRef=${{ github.ref_type }}/${{ github.ref_name }} -r win-x64 -c ${{ matrix.configuration }} --self-contained false .\Bloxstrap\Bloxstrap.csproj

- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: Bloxstrap (${{ matrix.configuration }}, ${{ matrix.platform }})
name: Bloxstrap (${{ matrix.configuration }})
path: |
.\Bloxstrap\bin\${{ matrix.configuration }}\net6.0-windows\win-${{ matrix.platform }}\publish\*
.\Bloxstrap\bin\${{ matrix.configuration }}\net6.0-windows\win-x64\publish\*
release:
needs: build
Expand All @@ -38,15 +43,17 @@ jobs:
- name: Download x64 release artifact
uses: actions/download-artifact@v3
with:
name: Bloxstrap (Release, x64)
name: Bloxstrap (Release)
path: x64

- name: Rename binaries
run: |
mv x64/Bloxstrap.exe Bloxstrap-${{ github.ref_name }}-x64.exe
mv x64/Bloxstrap.exe Bloxstrap-${{ github.ref_name }}.exe
- name: Release
uses: softprops/action-gh-release@v1
with:
draft: true
files: |
Bloxstrap-${{ github.ref_name }}-x64.exe
Bloxstrap-${{ github.ref_name }}.exe
name: Bloxstrap ${{ github.ref_name }}
2 changes: 2 additions & 0 deletions Bloxstrap/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
<ui:ThemesDictionary Theme="Dark" />
<ui:ControlsDictionary />
</ResourceDictionary.MergedDictionaries>

<FontFamily x:Key="Rubik">pack://application:,,,/Resources/Fonts/#Rubik Light</FontFamily>
</ResourceDictionary>
</Application.Resources>
</Application>
Loading

0 comments on commit 34bba49

Please sign in to comment.