fixed player create progress bar, accounting for PlayFab new API Rate… #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
push: | |
tags: | |
- '\d+.\d+.\d+.\d+' | |
workflow_dispatch: | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Variable Substitution | |
run: sed -i 's#<FileVersion>.*</FileVersion>#<FileVersion>'${{ github.ref.name }}'</FileVersion>#g' src/PlayFabBuddy.Cli/PlayFabBuddy.Cli.csproj | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 8.0.x | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build & Publish | |
run: | | |
dotnet publish src/PlayFabBuddy.Cli/PlayFabBuddy.Cli.csproj -p:PublishSingleFile=true -c Release --runtime win-x64 --self-contained true | |
zip -j win-64 src/PlayFabBuddy.Cli/bin/Release/net8.0/win-x64/publish/* | |
dotnet publish src/PlayFabBuddy.Cli/PlayFabBuddy.Cli.csproj -p:PublishSingleFile=true -c Release --runtime win-x86 --self-contained true | |
zip -j win-86 src/PlayFabBuddy.Cli/bin/Release/net8.0/win-x86/publish/* | |
dotnet publish src/PlayFabBuddy.Cli/PlayFabBuddy.Cli.csproj -p:PublishSingleFile=true -c Release --runtime linux-x64 --self-contained true | |
zip -j linux-x64 src/PlayFabBuddy.Cli/bin/Release/net8.0/linux-x64/publish/* | |
dotnet publish src/PlayFabBuddy.Cli/PlayFabBuddy.Cli.csproj -p:PublishSingleFile=true -c Release --runtime osx-x64 --self-contained true | |
zip -j osx-x64 src/PlayFabBuddy.Cli/bin/Release/net8.0/osx-x64/publish/* | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
generate_release_notes: true | |
files: | | |
win-64.zip | |
win-86.zip | |
linux-x64.zip | |
osx-x64.zip |