Skip to content

Typo

Typo #99

Workflow file for this run

name: GitHub CI
on:
push:
branches: [master]
pull_request:
types: [opened, synchronize, reopened, labeled]
jobs:
build:
name: Build
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.0.2
- name: Setup HDT
shell: pwsh
run: |
Invoke-WebRequest (Invoke-WebRequest 'https://api.github.com/repos/HearthSim/Hearthstone-Deck-Tracker/releases' | ConvertFrom-Json)[0].assets.browser_download_url -OutFile HDT.zip
Expand-Archive HDT.zip
Rename-Item '.\HDT\Hearthstone Deck Tracker\Hearthstone Deck Tracker.exe' HearthstoneDeckTracker.exe
- name: Build
shell: pwsh
run: |
dotnet build PackTracker.sln
- name: Upload
uses: actions/upload-artifact@v1
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
with:
name: Artifact
path: PackHistorian/bin/Debug