mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-21 02:55:37 -08:00
chore: do not release on chores
This commit is contained in:
parent
287235f706
commit
7228e564b8
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
|
@ -18,6 +18,7 @@ jobs:
|
||||||
outputs:
|
outputs:
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
version: ${{ steps.changelog.outputs.version }}
|
version: ${{ steps.changelog.outputs.version }}
|
||||||
|
skipped: ${{ steps.changelog.outputs.skipped }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -29,7 +30,7 @@ jobs:
|
||||||
skip-version-file: "true"
|
skip-version-file: "true"
|
||||||
output-file: "false"
|
output-file: "false"
|
||||||
skip-commit: "true"
|
skip-commit: "true"
|
||||||
skip-on-empty: "false"
|
skip-on-empty: "true"
|
||||||
- name: Create Github Release
|
- name: Create Github Release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
|
@ -42,6 +43,7 @@ jobs:
|
||||||
body: ${{ steps.changelog.outputs.clean_changelog }}
|
body: ${{ steps.changelog.outputs.clean_changelog }}
|
||||||
artifacts:
|
artifacts:
|
||||||
needs: release
|
needs: release
|
||||||
|
if: ${{ needs.release.outputs.skipped == 'false' }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
|
@ -77,6 +79,7 @@ jobs:
|
||||||
asset_content_type: application/octet-stream
|
asset_content_type: application/octet-stream
|
||||||
powershell:
|
powershell:
|
||||||
needs: [release, artifacts]
|
needs: [release, artifacts]
|
||||||
|
if: ${{ needs.release.outputs.skipped == 'false' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
|
|
Loading…
Reference in a new issue