-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcontinuous-deployment-workflow.yml
More file actions
33 lines (32 loc) · 1 KB
/
Copy pathcontinuous-deployment-workflow.yml
File metadata and controls
33 lines (32 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: cd
on:
push:
tags:
- "v?[0-9]+.[0-9]+.[0-9]+*"
jobs:
test:
name: Test
runs-on: ubuntu-18.04
container:
# Ref: https://github.community/t5/GitHub-Actions/docker-pull-from-public-GitHub-Package-Registry-fail-with-quot/m-p/32782
image: superstructor/clojure:openjdk-11-lein-2.9.1-node-browsers
steps:
- uses: actions/checkout@v1
- run: lein ci
release:
name: Release
needs: test
runs-on: ubuntu-18.04
container:
# Ref: https://github.community/t5/GitHub-Actions/docker-pull-from-public-GitHub-Package-Registry-fail-with-quot/m-p/32782
image: superstructor/clojure:openjdk-11-lein-2.9.1-node-browsers
steps:
- uses: actions/checkout@v1
- name: Run lein release
env:
CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }}
CLOJARS_TOKEN: ${{ secrets.CLOJARS_TOKEN }}
GITHUB_USERNAME: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
lein release