Skip to content

Commit 058ef58

Browse files
Update pipelines.yml
1 parent d0b4a3d commit 058ef58

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

.github/workflows/pipelines.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,22 @@ jobs:
3737
run: |
3838
databricks repos update --path $DEV_DIRECTORY --branch "${{github.ref_name}}"
3939
40-
- name: Run a databricks notebook
41-
uses: databricks/run-notebook@v0
42-
with:
43-
local-notebook-path: unit-tests/test_with_arbitrary_files.py
44-
git-commit: ${{ github.event.pull_request.head.sha }}
45-
new-cluster-json: >
46-
{
47-
"num_workers": 1,
48-
"spark_version": "10.4.x-scala2.12",
49-
"node_type_id": "Standard_D3_v2"
50-
}
5140
- name: Run Tests
5241
run: |
5342
nutter run "$DEV_DIRECTORY/unit-tests/" --cluster_id $CLUSTER_ID --recursive --junit_report --timeout 500
54-
43+
44+
- name: Create Release
45+
id: create_release
46+
uses: actions/create-release@v1
47+
env:
48+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions
49+
with:
50+
tag_name: ${{ github.ref }}
51+
release_name: Release ${{ github.ref }}
52+
body: |
53+
Release for version ${{ github.ref }}.
54+
draft: false
55+
prerelease: false
5556

5657
OnRelease:
5758
if: startsWith(github.ref_name, 'main')

0 commit comments

Comments
 (0)