Checkout repo before using it's content, yea?

le drag
This commit is contained in:
Odd Stråbø 2021-10-18 20:53:36 +02:00 committed by GitHub
parent d9f3452c10
commit 0f0b2582d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

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