-
Notifications
You must be signed in to change notification settings - Fork 89
34 lines (30 loc) · 938 Bytes
/
create-srs.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: Convert to srs
on:
push:
branches: [ "main" ]
paths:
- .github/workflows/create-srs.yml
# - src/**
# - convert.py
# schedule:
# - cron: '33 */8 * * *'
jobs:
convert-and-release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Run Plain2srs Docker Container
run: |
docker run --name plain2srs-container \
-v "${{ github.workspace }}:/workspace" \
itdoginfo/plain2srs-action:20241216 \
-i /workspace/Russia/inside-raw.lst \
-o russia-inside \
-c
docker cp plain2srs-container:/app/plain2srs/output/russia-inside.srs ${{ github.workspace }}/russia-inside.srs
- name: Release
uses: softprops/[email protected]
with:
files: "${{ github.workspace }}/russia-inside.srs"
tag_name: latest