mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Creating packages builds on tags push
This commit is contained in:
parent
67d5c0abe9
commit
8e3691faea
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -106,7 +106,7 @@ jobs:
|
|||||||
name: Create debian, rpm & arch releases
|
name: Create debian, rpm & arch releases
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master' || contains(github.ref, "tags")
|
||||||
env:
|
env:
|
||||||
description: "A media browser"
|
description: "A media browser"
|
||||||
version: v0.0.1 #${{ github.ref }}
|
version: v0.0.1 #${{ github.ref }}
|
||||||
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -20,10 +20,6 @@ jobs:
|
|||||||
repo-token: ${{secrets.GITHUB_TOKEN}}
|
repo-token: ${{secrets.GITHUB_TOKEN}}
|
||||||
running-workflow-name: release
|
running-workflow-name: release
|
||||||
allowed-conclusions: success,skipped,cancelled,neutral
|
allowed-conclusions: success,skipped,cancelled,neutral
|
||||||
- name: Generate changelog
|
|
||||||
uses: mikepenz/release-changelog-builder-action@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: dawidd6/action-download-artifact@v2
|
uses: dawidd6/action-download-artifact@v2
|
||||||
with:
|
with:
|
||||||
@ -43,6 +39,6 @@ jobs:
|
|||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
body: ${{steps.github_release.outputs.changelog}}
|
generateReleaseNotes: true
|
||||||
artifacts: ./artifacts/**/*
|
artifacts: ./artifacts/**/*
|
||||||
token: ${{secrets.GITHUB_TOKEN}}
|
token: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user