Skip to content

Commit

Permalink
Use powershell for archives
Browse files Browse the repository at this point in the history
  • Loading branch information
Makar8000 committed May 9, 2020
1 parent fc4ec0b commit fcad462
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 37 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build Plugin
on: [push]

jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Setup Nuget
uses: nuget/setup-nuget@v1
with:
nuget-version: 'latest'
- name: Restore Nuget Packages
run: nuget restore ACT_DiscordTriggers.sln
- name: Download ACT Binaries
shell: powershell
run: |
Invoke-WebRequest https://advancedcombattracker.com/includes/page-download.php?id=57 -OutFile packages/act.zip
Expand-Archive -Path packages/act.zip -DestinationPath packages
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1
- name: Build
run: msbuild ACT_DiscordTriggers.sln -p:Configuration=Release
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: ACT_DiscordTriggers-Prerelease
path: './ACT_DiscordTriggers/bin/Release/net462/ACT_DiscordTriggers.dll'
37 changes: 0 additions & 37 deletions .github/workflows/main.yml

This file was deleted.

0 comments on commit fcad462

Please sign in to comment.