forked from Lafcadia/NitWiki-Script
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 790 Bytes
/
main.yml
File metadata and controls
35 lines (32 loc) · 790 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
permissions:
contents: write
on:
[push]
jobs:
build:
name: Auto Release
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install Dependencies and Generate Bundle
run: |
python generate-bundle.py
- name: Auto release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: ${{ matrix.os }}
prerelease: true
files: |
dist/*