-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (35 loc) · 1019 Bytes
/
Copy pathrelease.yml
File metadata and controls
43 lines (35 loc) · 1019 Bytes
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
41
42
43
name: Release
on:
push:
branches: [main]
permissions:
contents: write
pull-requests: write
jobs:
ci:
uses: ./.github/workflows/ci.yml
release:
needs: ci
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-python@v6
if: ${{ steps.release.outputs.release_created }}
with:
python-version: "3.x"
- name: Build FAP
if: ${{ steps.release.outputs.release_created }}
run: |
pip install ufbt
ufbt
- name: Upload FAP to release
if: ${{ steps.release.outputs.release_created }}
env:
GH_TOKEN: ${{ github.token }}
run: gh release upload ${{ steps.release.outputs.tag_name }} dist/sub_dup_finder.fap