From c0101a7fe654a1eba1032654b56381a33d7fb556 Mon Sep 17 00:00:00 2001 From: mfmatos <46325500+mfmatos@users.noreply.github.com> Date: Wed, 9 Dec 2020 12:32:51 -0300 Subject: [PATCH] Update opm-maker.yml --- .github/workflows/opm-maker.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/opm-maker.yml b/.github/workflows/opm-maker.yml index 5b24af6..abf34bf 100644 --- a/.github/workflows/opm-maker.yml +++ b/.github/workflows/opm-maker.yml @@ -32,12 +32,19 @@ jobs: - name: Get version tag id: get_version run: echo ::set-output name=VERSION::$(grep '' Custom/*.sopm | sed -r 's/.+>(.+)<.+/\1/') + + - uses: rlespinasse/github-slug-action@1.1.1 + - name: Print slug variables + run: | + echo ${{ env.GITHUB_REF_SLUG }} + echo ${{ env.GITHUB_HEAD_REF_SLUG }} + echo ${{ env.GITHUB_BASE_REF_SLUG }} - name: Upload OPM uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" - automatic_release_tag: "latest" + automatic_release_tag: ${{ env.GITHUB_REF_SLUG }} prerelease: false title: ${{ steps.get_version.outputs.VERSION }} files: |