summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseancarroll <seanc28@gmail.com>2021-03-23 21:48:35 -0500
committerseancarroll <seanc28@gmail.com>2021-03-23 21:48:35 -0500
commit2f7ecf77781f181b8de178e0ec2f4a37a958a412 (patch)
treeebf2f33bbdb82f9bd811baf1bb0972542f6191ea
parent2ca88b761bc706d81f0f9d6dec7997807df4a0e2 (diff)
downloaddotavious-2f7ecf77781f181b8de178e0ec2f4a37a958a412.zip
make publish a manaul trigger
-rw-r--r--.github/workflows/CI.yml4
-rw-r--r--.github/workflows/Publish.yml17
2 files changed, 17 insertions, 4 deletions
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
index d4ed039..4dd1560 100644
--- a/.github/workflows/CI.yml
+++ b/.github/workflows/CI.yml
@@ -20,7 +20,3 @@ jobs:
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- - name: Publish
- run: |
- cargo login ${{ secrets.CARGO_API_KEY }}
- cargo publish
diff --git a/.github/workflows/Publish.yml b/.github/workflows/Publish.yml
new file mode 100644
index 0000000..11a9355
--- /dev/null
+++ b/.github/workflows/Publish.yml
@@ -0,0 +1,17 @@
+name: Publish
+
+on: workflow_dispatch
+
+env:
+ CARGO_TERM_COLOR: always
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Publish
+ run: |
+ cargo login ${{ secrets.CARGO_API_KEY }}
+ cargo publish \ No newline at end of file