Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
revert
  • Loading branch information
66Leo66 authored Mar 1, 2024
1 parent 2ebdde3 commit 2570f49
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Build and Relaese
on:
push:
pull_request:
types: [opened, reopened, edited, synchronize]
workflow_dispatch:
inputs:
fail-fast:
Expand All @@ -29,7 +27,7 @@ on:

jobs:
cross-compile:
if: ${{ inputs.run-cross }} || github.event.issue.pull_request
if: ${{ inputs.run-cross }}
permissions:
contents: write
runs-on: ubuntu-latest
Expand Down Expand Up @@ -77,7 +75,7 @@ jobs:
draft: true
token: ${{ secrets.GITHUB_TOKEN }}
files: ${{ format('solver-multi_{0}{1}', matrix.target, contains(matrix.target, 'windows') && '.exe' || '') }}
if: ${{ !github.event.issue.pull_request }} && startsWith( github.ref, 'refs/tags/v' ) || contains(github.event.head_commit.message, 'test release') || ${{ inputs.publish-release }}
if: startsWith( github.ref, 'refs/tags/v' ) || contains(github.event.head_commit.message, 'test release') || ${{ inputs.publish-release }}


build-for-mac:
Expand Down

0 comments on commit 2570f49

Please sign in to comment.