Skip to content

Commit

Permalink
ci: rollback tags trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
itstor committed Jun 8, 2024
1 parent 8e0e518 commit 1a92899
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Build and Release

on:
push:
branches:
- main
tags:
- "v*.*.*"

jobs:
build_and_release:
Expand All @@ -26,14 +26,14 @@ jobs:
- name: 🛠️ Build with Gradle
run: ./gradlew build

# - name: 📦 Create Release
# uses: softprops/action-gh-release@v2
# with:
# name: Release ${{ github.ref_name }}
# tag_name: ${{ github.ref_name }}
# target_commitish: ${{ github.sha }}
# generate_release_notes: true
# draft: false
# files: build/libs/*.jar
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 📦 Create Release
uses: softprops/action-gh-release@v2
with:
name: Release ${{ github.ref_name }}
tag_name: ${{ github.ref_name }}
target_commitish: ${{ github.sha }}
generate_release_notes: true
draft: false
files: build/libs/*.jar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1a92899

Please sign in to comment.