Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Commit

Permalink
Update opm-maker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mfmatos authored Dec 9, 2020
1 parent aa93d4f commit c0101a7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/opm-maker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,19 @@ jobs:
- name: Get version tag
id: get_version
run: echo ::set-output name=VERSION::$(grep '<Version>' Custom/*.sopm | sed -r 's/.+>(.+)<.+/\1/')

- uses: rlespinasse/[email protected]
- 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: |
Expand Down

0 comments on commit c0101a7

Please sign in to comment.