-
Notifications
You must be signed in to change notification settings - Fork 273
34 lines (32 loc) · 939 Bytes
/
test.yml
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
34
name: Jc Test
on:
push:
branches:
- jcrelease
jobs:
publish:
name: Release build and publish
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/[email protected]
with:
ref: jcrelease
persist-credentials: false
- name: Set up JDK 17
uses: actions/[email protected]
with:
distribution: adopt
java-version: 17
- name: Commit changes
run: |
echo "Something" > something.txt
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add something.txt
git commit -m "AUTOMATION: Changelog update"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.STREAM_PUBLIC_BOT_TOKEN }}
branch: jcrelease