Skip to content

Commit

Permalink
ci: use powershell for in-place build testing
Browse files Browse the repository at this point in the history
  • Loading branch information
vile committed May 28, 2024
1 parent d9a5933 commit 01b8ed0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@ jobs:
run: pyinstaller main.py --onefile --name DiscordRoleScraper

- name: Test Build
shell: pwsh
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
DISCORD_SERVER_ID: ${{ secrets.DISCORD_SERVER_ID }}
timeout-minutes: 2
run: |
.\dist\DiscordRoleScraper.exe "$DISCORD_TOKEN" "$DISCORD_SERVER_ID" true
.\dist\DiscordRoleScraper.exe "env:DISCORD_TOKEN" "env:DISCORD_SERVER_ID" true
- name: Upload Artifact
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 01b8ed0

Please sign in to comment.