Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Dec 20, 2023
1 parent a571d99 commit 47ada94
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/static.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,7 @@ jobs:
run: ./build-static.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
name: Upload asset
if: github.event_name == 'schedule' || github.ref_type == 'tag'
run: gh release upload "${{ (github.ref_type == 'tag' && github.ref_name) || needs.prepare.outputs.ref }}" dist/frankenphp-mac-x86_64 --repo dunglas/frankenphp --clobber
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE: ${{ (github.event_name == 'schedule' || github.ref_type == 'tag') && '1' || '' }}
-
name: Upload artifact
if: github.ref_type == 'branch'
Expand Down

0 comments on commit 47ada94

Please sign in to comment.