diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4275cf9..7aee2a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,22 +27,21 @@ jobs: - name: Build with Maven run: mvn clean verify -PSDK -Dtycho.localArtifacts=ignore -B -V - name: Create Release - id: create_release - uses: actions/create-release@latest - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - draft: false - prerelease: false - - name: Upload Release Asset - id: upload-release-asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./repositories/org.example.repository.sdk/target/org.example.repository.sdk.zip - asset_name: repo.zip - asset_content_type: application/zip \ No newline at end of file + id: create_release + uses: actions/create-release@latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} + draft: false + prerelease: true + - name: Upload Release Asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./repositories/org.example.repository.sdk/target/org.example.repository.sdk.zip + asset_name: repo.zip + asset_content_type: application/zip \ No newline at end of file