Skip to content

V1.8.5757

V1.8.5757 #47

Workflow file for this run

name: CI & Release
env:
TZ: Asia/Shanghai
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Run integration script
run: ./main.bat
- name: Upload generated files
uses: actions/upload-artifact@v3
with:
name: module
path: Another-Plangothic-magisk-module.zip
nightly-release:
permissions: write-all
needs: build
runs-on: windows-latest
if: startsWith(github.ref, 'refs/tags/') != true
steps:
- uses: actions/download-artifact@v3
with:
name: module
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "nightly-release"
prerelease: true
title: "test Build"
files: |
Another-Plangothic-magisk-module.zip
release:
permissions: write-all
runs-on: ubuntu-latest
needs: build
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: module
- name: Release Action
uses: softprops/action-gh-release@v1
with:
files: |
Another-Plangothic-magisk-module.zip
body_path: changelog.md