Skip to content

Commit

Permalink
I wonder if you can just use on: push without tags
Browse files Browse the repository at this point in the history
  • Loading branch information
HaeImAlan committed Jan 30, 2024
1 parent 11a3f78 commit e05a801
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build jar

on: workflow_dispatch
on: push

jobs:
build:
Expand All @@ -20,5 +20,17 @@ jobs:
with:
name: cubingPaper
path: target/paperspigot-1.8.8-R0.1-SNAPSHOT.jar
- name: Create Release
uses: ncipollo/release-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
artifacts: target/paperspigot-1.8.8-R0.1-SNAPSHOT.jar
draft: false
prerelease: true
releaseName: ${{ github.ref }}
releaseNotes: |
This is an automated release.

0 comments on commit e05a801

Please sign in to comment.