Skip to content

Commit 3db98d6

Browse files
committed
Set up a Github action that runs on push
1 parent e5a8c4d commit 3db98d6

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/gh-actions.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: gh-actions
2+
run-name: ${{ github.actor }} triggered a Github Action
3+
on: [push]
4+
jobs:
5+
sanity-checks:
6+
env:
7+
MC_TOKEN_USER: ${{ secrets.MAVEN_CENTRAL_TOKEN_USER }}
8+
MC_TOKEN_PASS: ${{ secrets.MAVEN_CENTRAL_TOKEN_PASSWORD }}
9+
SBT_VERSION: 1.11.4
10+
SBT_OPTS: "-Xms512M -Xmx1536M -Xss1M"
11+
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Our environment
16+
run: env | sort
17+
- name: Organisation secrets
18+
run: |
19+
echo "MAVEN_CENTRAL_TOKEN_USER starts with ${MC_TOKEN_USER:0:1} and is ${#MC_TOKEN_USER} long"
20+
echo "MAVEN_CENTRAL_TOKEN_PASSWORD starts with ${MC_TOKEN_PASSWORD:0:1} and is ${#MC_TOKEN_PASSWORD} long"
21+
- name: Perform the tests
22+
run: sbt clean test:compile scripted

0 commit comments

Comments
 (0)