diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ea35016..3f50e41 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,6 @@ jobs: platform: linux - os: macos-12 platform: osx -# - os: windows-2022 steps: - name: Check out repository uses: actions/checkout@v3 @@ -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/release-action@2.2.0 + with: + version: 1.1.0 + setup-java: true + env: + JRELEASER_PROJECT_VERSION: ${{ github.event.inputs.version }} + JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}