Skip to content

Commit 3b92bea

Browse files
committed
release step with file addition
1 parent 2a15077 commit 3b92bea

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,26 @@ jobs:
8282
resource-dirs: '[]'
8383
clojars-username: ${{ secrets.CLOJARS_USERNAME }}
8484
clojars-deploy-token: ${{ secrets.CLOJARS_PASSWORD }}
85+
86+
release:
87+
runs-on: ubuntu-latest
88+
needs: build
89+
if: ${{ github.ref_type == 'tag' }}
90+
steps:
91+
- name: Checkout repository
92+
uses: actions/checkout@v3
93+
94+
- name: Download Bundle Artifact
95+
uses: actions/download-artifact@v3
96+
with:
97+
name: datasim-bundle-artifact-${{ github.sha }}
98+
99+
- name: Craft Draft Release
100+
uses: softprops/action-gh-release@v1
101+
with:
102+
# Defaults:
103+
# name: [tag name]
104+
# tag_name: github.ref
105+
body: "## Release Notes\nTODO: Create great release notes!"
106+
draft: true
107+
files: datasim-bundle.zip

0 commit comments

Comments
 (0)