Merge pull request #702 from Universal-Debloater-Alliance/hotfix/auto… #252
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 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-latest | |
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@v1 | |
with: | |
files: uad-ng-*/* | |
generate_release_notes: true |