Skip to content

Commit

Permalink
ci: Simplify file naming for macOS builds
Browse files Browse the repository at this point in the history
  • Loading branch information
rockstorm101 committed Jun 17, 2024
1 parent d795d48 commit 98838a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/buildpackage-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,22 +56,22 @@ jobs:
- name: Configuration for releases
if: ${{ github.event_name == 'release' }}
run: |
echo "EXE_NAME=${{ github.ref_name }}" >> $GITHUB_ENV
echo "EXE_NAME=${{ github.ref_name }}_macos_${{ matrix.architecture }}" >> $GITHUB_ENV
- name: Configuration for pushes
if: ${{ github.event_name == 'push' }}
run: |
echo "EXE_NAME=printrun-nightly" >> $GITHUB_ENV
echo "EXE_NAME=printrun-nightly_${{ matrix.os }}_${{ matrix.architecture }}_py${{ matrix.python-version }}" >> $GITHUB_ENV
- name: Configuration for pull requests
if: ${{ github.event_name == 'pull_request' }}
run: |
echo "EXE_NAME=printrun-test" >> $GITHUB_ENV
echo "EXE_NAME=printrun-test_${{ matrix.os }}_${{ matrix.architecture }}_py${{ matrix.python-version }}" >> $GITHUB_ENV
- name: Upload artifacts for inspection
uses: actions/upload-artifact@v4
with:
name: ${{ env.EXE_NAME }}_${{ matrix.os }}_${{ matrix.architecture }}_py${{ matrix.python-version }}
name: ${{ env.EXE_NAME }}
path: dist/Pronterface-app.zip

upload_release_assets:
Expand Down

0 comments on commit 98838a0

Please sign in to comment.