-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5f7d60c
commit a70782b
Showing
1 changed file
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,29 @@ | ||
name: release | ||
name: Build Magisk/KernelSU Module | ||
|
||
on: | ||
push: | ||
tags: [ v*.*.* ] | ||
|
||
jobs: | ||
deploy: | ||
name: Deploy | ||
build: | ||
name: Build Module | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Build | ||
- name: Setup Apt Dependencies | ||
run: | | ||
zip -r "code-server-release.zip" -x ".git" "README.md" ".github" . | ||
- id: get_version | ||
uses: battila7/get-version-action@v2 | ||
sudo apt update -y && sudo apt upgrade -y | ||
sudo apt install zip unzip -y | ||
- name: Make | ||
shell: bash | ||
run: | | ||
zip -r "module.zip" * -x ".git" -x "README.md" | ||
- name: Publish | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: 'code-server*' | ||
draft: true | ||
|
||
files: 'module.zip' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |