-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #138 from yetanalytics/release_with_bundle
release step with file addition
- Loading branch information
Showing
1 changed file
with
25 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup CI environment | ||
uses: yetanalytics/actions/[email protected] | ||
|
@@ -53,7 +53,7 @@ jobs: | |
zip -r ../../datasim-bundle.zip ./ | ||
- name: Archive Bundle | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: datasim-bundle-artifact-${{ github.sha }} | ||
path: datasim-bundle.zip | ||
|
@@ -65,7 +65,7 @@ jobs: | |
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup CD environment | ||
uses: yetanalytics/action-setup-env@v1 | ||
|
@@ -82,3 +82,25 @@ 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@v4 | ||
|
||
- name: Download Bundle Artifact | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: datasim-bundle-artifact-${{ github.sha }} | ||
|
||
- name: Craft Draft Release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
# Defaults: | ||
# name: [tag name] | ||
# tag_name: github.ref | ||
draft: true | ||
files: datasim-bundle.zip |