Skip to content

Commit

Permalink
Remove unnecessary temp dir
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidSchinazi committed Aug 7, 2024
1 parent 6f8882a commit 72bfa5b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/jazzlights.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,13 @@ jobs:
python-version: "3.12"
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Create Temporary Binaries Directory
run: |
mkdir -p "${{ runner.temp }}/binaries"
echo "binaries_dir=${{ runner.temp }}/binaries" >> "$GITHUB_ENV"
- name: PlatformIO Build Merged Vest Binary
run: MERGED_BIN_PATH="${binaries_dir}/${{ matrix.pioenv }}.bin" pio run -t mergebin -e ${{ matrix.pioenv }}
run: MERGED_BIN_PATH="${{ runner.temp }}/${{ matrix.pioenv }}.bin" pio run -t mergebin -e ${{ matrix.pioenv }}
- name: Upload Merged Vest Binary as Artifact
uses: actions/upload-artifact@v4
with:
name: merged-binary-${{ matrix.pioenv }}
path: "${{ runner.temp }}/binaries/${{ matrix.pioenv }}.bin"
path: "${{ runner.temp }}/${{ matrix.pioenv }}.bin"

pages:
if: github.ref == 'refs/heads/main'
Expand Down

0 comments on commit 72bfa5b

Please sign in to comment.