Merge pull request #586 from jellyfin/oddstr13-patch-2

Checkout repo before using it's content, yea?
This commit is contained in:
mcarlton00 2021-10-18 15:03:59 -04:00 committed by GitHub
commit 3d43d30657
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,9 @@ jobs:
with: with:
yq-version: v4.9.1 yq-version: v4.9.1
- name: Checkout repository
uses: actions/checkout@v2
- name: Parse Changlog - name: Parse Changlog
run: | run: |
pip install emoji pip install emoji
@ -36,9 +39,6 @@ jobs:
echo "EOF" >> $GITHUB_ENV echo "EOF" >> $GITHUB_ENV
rm cl.md rm cl.md
- name: Checkout repository
uses: actions/checkout@v2
- name: Update release.yaml - name: Update release.yaml
run: | run: |
yq eval '.version = env(VERSION) | .changelog = strenv(YAML_CHANGELOG) | .changelog style="literal"' -i release.yaml yq eval '.version = env(VERSION) | .changelog = strenv(YAML_CHANGELOG) | .changelog style="literal"' -i release.yaml