Skip to content

Commit

Permalink
Implement release job
Browse files Browse the repository at this point in the history
  • Loading branch information
helpermethod committed Jul 13, 2022
1 parent 588f3d7 commit 3bcbcda
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
platform: linux
- os: macos-12
platform: osx
# - os: windows-2022
steps:
- name: Check out repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -44,5 +43,25 @@ jobs:
needs: assemble
runs-on: ubuntu-22.04
steps:
- name: Release
run: echo 'Release all the things'
- name: Check out repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Download Linux assembly
uses: actions/download-artifact@v3
with:
name: p2e-linux-x86-64.zip
path: out/jreleaser/assemble/p2e/archive
- name: Download OS X assembly
uses: actions/download-artifact@v3
with:
name: p2e-osx-x86-64.zip
path: out/jreleaser/assemble/p2e/archive
- name: Release
uses: jreleaser/[email protected]
with:
version: 1.1.0
setup-java: true
env:
JRELEASER_PROJECT_VERSION: ${{ github.event.inputs.version }}
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3bcbcda

Please sign in to comment.