diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3edd9c6e..2dd5a7ac 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -82,3 +82,26 @@ jobs: resource-dirs: '[]' clojars-username: ${{ secrets.CLOJARS_USERNAME }} clojars-deploy-token: ${{ secrets.CLOJARS_PASSWORD }} + + release: + runs-on: ubuntu-latest + needs: build + if: ${{ github.ref_type == 'tag' }} + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Download Bundle Artifact + uses: actions/download-artifact@v3 + with: + name: datasim-bundle-artifact-${{ github.sha }} + + - name: Craft Draft Release + uses: softprops/action-gh-release@v1 + with: + # Defaults: + # name: [tag name] + # tag_name: github.ref + body: "## Release Notes\nTODO: Create great release notes!" + draft: true + files: datasim-bundle.zip