forked from NVISOsecurity/AlwaysTrustUserCerts
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 906 Bytes
/
build.yml
File metadata and controls
39 lines (31 loc) · 906 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
name: Build Magisk Module
on:
workflow_dispatch:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build Magisk Module
run: |
# Remove files that shouldn't be in the module
rm -f README.md CHANGELOG.md
rm -rf .git .github
# Create the module zip
zip -r AlwaysTrustUserCerts.zip . -x "*.git*" ".DS_Store*"
# Verify the structure
echo "Module contents:"
unzip -l AlwaysTrustUserCerts.zip
- name: Upload Module
uses: actions/upload-artifact@v4
with:
name: AlwaysTrustUserCerts
path: AlwaysTrustUserCerts.zip
- name: Create Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: AlwaysTrustUserCerts.zip