mirror of
https://github.com/45Drives/cockpit-navigator.git
synced 2025-07-31 01:24:37 +02:00
update workflow
This commit is contained in:
parent
08b840d702
commit
01759c7ed4
9
.github/workflows/build-packages.yml
vendored
9
.github/workflows/build-packages.yml
vendored
@ -6,7 +6,7 @@ on:
|
|||||||
tags:
|
tags:
|
||||||
- 'v*.*.*'
|
- 'v*.*.*'
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
main:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -21,11 +21,10 @@ jobs:
|
|||||||
echo "VERSION=$(cat ${{github.workspace}}/manifest.json | jq --raw-output '.version')" >> $GITHUB_ENV
|
echo "VERSION=$(cat ${{github.workspace}}/manifest.json | jq --raw-output '.version')" >> $GITHUB_ENV
|
||||||
echo "REVISION=$(cat ${{github.workspace}}/manifest.json | jq --raw-output '.buildVersion')" >> $GITHUB_ENV
|
echo "REVISION=$(cat ${{github.workspace}}/manifest.json | jq --raw-output '.buildVersion')" >> $GITHUB_ENV
|
||||||
- name: GitHub Release
|
- name: GitHub Release
|
||||||
id: release
|
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
name: ${{env.TITLE}} ${{env.VERSION}}-${{env.REVISION}}
|
name: ${{env.TITLE}} ${{env.VERSION}}
|
||||||
prerelease: ${{env.PRERELEASE}}
|
prerelease: ${{env.PRERELEASE}}
|
||||||
body_path: ${{github.workspace}}/CHANGELOG.md
|
body_path: ${{github.workspace}}/CHANGELOG.md
|
||||||
files: |
|
files: |
|
||||||
@ -38,6 +37,4 @@ jobs:
|
|||||||
run: update-repositories ${{github.workspace}}
|
run: update-repositories ${{github.workspace}}
|
||||||
- name: Publish Repository
|
- name: Publish Repository
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
run: publish-repo
|
run: publish-repo
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user