Skip to content

Commit

Permalink
Merge pull request #246 from SpaceWarpDev/Rexicon226-patch-1
Browse files Browse the repository at this point in the history
fixed all warnings in the build action
  • Loading branch information
cheese3660 authored Jul 22, 2023
2 parents 6823c19 + 7fcafdc commit 999d4c8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build_spacewarp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:

steps:
- name: Check Out Repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: 3.9

Expand All @@ -31,16 +31,16 @@ jobs:
id: find-zip
run: |
if [ "${{ matrix.run_args }}" == "-r" ]; then
echo "::set-output name=zip::$(ls -1 build/SpaceWarp-Release*.zip | head -n 1)"
echo "::set-output name=artifact_name::SpaceWarpRelease"
echo "zip=$(ls -1 build/SpaceWarp-Release*.zip | head -n 1)" >> $GITHUB_ENV
echo "artifact_name=SpaceWarpRelease" >> $GITHUB_ENV
else
echo "::set-output name=zip::$(ls -1 build/SpaceWarp-Debug*.zip | head -n 1)"
echo "::set-output name=artifact_name::SpaceWarpDebug"
echo "zip=$(ls -1 build/SpaceWarp-Debug*.zip | head -n 1)" >> $GITHUB_ENV
echo "artifact_name=SpaceWarpDebug" >> $GITHUB_ENV
fi
# Least cursed Sinon code.

- name: Upload Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ steps.find-zip.outputs.artifact_name }}
path: ${{ steps.find-zip.outputs.zip }}
name: ${{ env.artifact_name }}
path: ${{ env.zip }}

0 comments on commit 999d4c8

Please sign in to comment.