Skip to content

Commit

Permalink
release step with file addition
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffcaseyyet committed Jul 16, 2024
1 parent 2a15077 commit 3b92bea
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3b92bea

Please sign in to comment.