-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (34 loc) · 918 Bytes
/
track.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
35
36
37
38
39
40
name: Track
on:
workflow_dispatch:
schedule:
- cron: "*/5 6 * * *"
- cron: "30 * * * *"
jobs:
track:
name: track ${{ matrix.release_channel }}
runs-on: ubuntu-latest
strategy:
matrix:
release_channel: [alpha, beta, stable]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: "Wumpus-Central/midroid-backend"
ref: "main"
token: ${{ secrets.GH_TOKEN }}
path: "backend"
- uses: oven-sh/setup-bun@v2
- uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "21"
- run: ./bootstrap.sh
working-directory: backend
- run: ./start.sh
working-directory: backend
env:
RELEASE_CHANNEL: ${{ matrix.release_channel }}
GITHUB_TOKEN: ${{ github.token }}
USES_ACTIONS: "1"