You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
857 B
YAML
28 lines
857 B
YAML
name: Create Archive
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- name: Archive Release
|
|
uses: thedoctor0/zip-release@master
|
|
with:
|
|
type: 'zip'
|
|
filename: 'magisk-module-hyperos-cn2global.zip'
|
|
exclusions: '*.git* /*node_modules/* .editorconfig'
|
|
- name: Archive Release without languages
|
|
uses: thedoctor0/zip-release@master
|
|
with:
|
|
type: 'zip'
|
|
filename: 'magisk-module-hyperos-cn2global-no-languages.zip'
|
|
exclusions: '*.git* /*node_modules/* .editorconfig treble-overlay-*.apk'
|
|
- name: Upload Release
|
|
uses: ncipollo/release-action@v1
|
|
with:
|
|
artifacts: "magisk-module-hyperos-cn2global.zip,magisk-module-miui-cn2global-no-languages.zip"
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|