Fix moving cert on Android 14 with Magisk Canary 26.4 #90
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
name: Build and deploy | |
on: | |
push: | |
branches: | |
- "*" | |
tags: | |
- v* | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: build dist | |
run: | | |
git submodule init && git submodule update | |
./dist.sh | |
ls -la | |
- name: create release | |
uses: ncipollo/release-action@v1 | |
if: startsWith(github.ref, 'refs/tags/v') | |
with: | |
artifacts: "adguardcert-*.zip" | |
token: ${{ secrets.GITHUB_TOKEN }} | |
generateReleaseNotes: true | |
- name: write PR url | |
if: github.event_name == 'pull_request' | |
run: | | |
echo "${{ github.event.pull_request.html_url }}" > pull_request_url.txt | |
- name: upload artifact | |
uses: actions/upload-artifact@v3 | |
if: github.event_name == 'pull_request' | |
with: | |
name: adguardcert module build | |
path: | | |
adguardcert-*.zip | |
README.md | |
pull_request_url.txt |