-
Notifications
You must be signed in to change notification settings - Fork 7
34 lines (32 loc) · 932 Bytes
/
repo.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: Repo
on:
workflow_dispatch:
workflow_call:
push:
paths:
- mister/config/**
- distribution/**
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Get Latest Release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: misteraddons/Reflex-Adapt
excludes: prerelease, draft
id: updater
- name: Fetch Reflex Updater
uses: dsaltares/fetch-gh-release-asset@master
with:
repo: misteraddons/Reflex-Adapt
version: tags/${{ steps.updater.outputs.release }}
file: reflex_updater.sh
- name: Generate Repo File
run: python3 ./mister/generate_repo.py "${{ steps.updater.outputs.release }}"
- name: Commit Repo File
uses: EndBug/add-and-commit@v9
with:
add: reflexadapt.json.zip