Skip to content

Commit

Permalink
Actually I could just make them the same task
Browse files Browse the repository at this point in the history
  • Loading branch information
HaeImAlan committed Jan 30, 2024
1 parent a61bdf1 commit ccd5c81
Showing 1 changed file with 8 additions and 18 deletions.
26 changes: 8 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,21 @@ jobs:
run: |
mvn -B package --file pom.xml
- name: Upload jar
uses: actions/upload-artifact@v2
with:
name: speedcubingLib
name: speedcubingLib-1.0-SNAPSHOT.jar
path: /target/speedcubingLib-1.0-SNAPSHOT.jar


release:
needs: build
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Create release
uses: ncipollo/release-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
artifacts: /target/speedcubingLib-1.0-SNAPSHOT.jar
draft: false
prerelease: true
releaseName: ${{ github.ref }}
releaseNotes: |
This is an automated release.
artifacts: speedcubingLib-1.0-SNAPSHOT.jar
draft: false
prerelease: true
releaseName: ${{ github.ref }}
releaseNotes: |
This is an automated release.

0 comments on commit ccd5c81

Please sign in to comment.