mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-25 10:56:57 +08:00
fix(ci): fix Publish workflow startup_failure
This commit is contained in:
parent
56c10ee930
commit
d446376b83
1 changed files with 4 additions and 6 deletions
|
|
@ -12,8 +12,6 @@ permissions:
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
name: Publish
|
name: Publish
|
||||||
# Check if the PR is not from a fork
|
|
||||||
if: github.repository_owner == 'samber'
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
|
|
@ -22,15 +20,15 @@ jobs:
|
||||||
- name: Set up Ruby
|
- name: Set up Ruby
|
||||||
uses: ruby/setup-ruby@v1
|
uses: ruby/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
ruby-version: 3.4
|
ruby-version: '3.4'
|
||||||
|
|
||||||
- name: Set up yq
|
- name: Set up yq
|
||||||
uses: mikefarah/yq@v4
|
uses: mikefarah/yq@v4
|
||||||
|
|
||||||
- name: Install liquid
|
- name: Install liquid
|
||||||
run: |
|
run: |
|
||||||
gem install liquid -v 5.5.1
|
gem install liquid -v 5.5.1
|
||||||
gem install liquid-cli
|
gem install liquid-cli
|
||||||
|
|
||||||
- name: Build rule configuration
|
- name: Build rule configuration
|
||||||
run: |
|
run: |
|
||||||
Loading…
Reference in a new issue