Skip to content

fixed player create progress bar, accounting for PlayFab new API Rate… #19

fixed player create progress bar, accounting for PlayFab new API Rate…

fixed player create progress bar, accounting for PlayFab new API Rate… #19

Workflow file for this run

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