Skip to content

Commit

Permalink
fix build yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Knee committed Nov 28, 2023
1 parent 634eb99 commit 80fc7ed
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
branches:
- main
tags:
- '*'
pull_request:

jobs:
Expand All @@ -29,14 +27,13 @@ jobs:
run: ./gradlew :maestro-cli:installDist -q

- name: Create GitHub Release
if: startsWith(github.ref, 'refs/tags/')
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref_name }}
release_name: Release ${{ github.ref_name }}
tag_name: release-${{ github.run_id }}
release_name: Release ${{ github.run_id }}
draft: false
prerelease: false

Expand Down

0 comments on commit 80fc7ed

Please sign in to comment.