mirror of
https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation.git
synced 2026-08-09 07:09:12 +02:00
29 lines
739 B
YAML
29 lines
739 B
YAML
name: Build and release
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
tags:
|
|
- v?[0-9]+.[0-9]+.[0-9]+ # semver
|
|
- '!dev-build' # not dev-build
|
|
|
|
jobs:
|
|
build:
|
|
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
|
|
uses: ./.github/workflows/build_artifacts.yml
|
|
release:
|
|
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
|
|
runs-on: ubuntu-22.04
|
|
needs: build
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Downloads artifacts
|
|
uses: actions/download-artifact@v4
|
|
- name: Create release
|
|
uses: softprops/action-gh-release@v2
|
|
with:
|
|
files: uad-ng-*/*
|
|
generate_release_notes: true
|