From e1572e5bae171d0552a6848ed9dcee6d41db8bcc Mon Sep 17 00:00:00 2001 From: Roberto Arista Date: Tue, 12 Mar 2024 16:21:14 +0100 Subject: [PATCH] improve PR action --- .github/workflows/pr_to_tag.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr_to_tag.yml b/.github/workflows/pr_to_tag.yml index 604579f..2c0a708 100644 --- a/.github/workflows/pr_to_tag.yml +++ b/.github/workflows/pr_to_tag.yml @@ -6,14 +6,16 @@ jobs: create_tag_from_pr: runs-on: ubuntu-latest steps: - - name: Load environment from YAML - uses: doughepi/yaml-env-action + - uses: actions/checkout@v4 + + - name: Set ENV values from YAML + uses: dcarbone/yaml-to-env-action@v1.0.0 with: - files: info.yaml + yaml-file: info.yaml - name: Create tag if not present uses: rickstaa/action-create-tag@v1 id: "tag_create" with: - tag: info.VERSION + tag: $VERSION tag_exists_error: false \ No newline at end of file