Skip to content

Commit

Permalink
Update forge_action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jordiprats authored Jan 11, 2021
1 parent 6ad755f commit 7c08c67
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/forge_action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Build and publish to Puppet Forge


on:
push:
tags:
Expand All @@ -11,11 +10,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Get latest tag
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
id: vars
run: echo ::set-output name=tag::${GITHUB_REF:10}
- name: Clone repository
uses: actions/checkout@v1
uses: actions/checkout@v2
with:
ref: ${{ env.RELEASE_VERSION }}
ref: ${{ steps.vars.outputs.tag }}
- name: Build and publish module
uses: barnumbirr/action-forge-publish@v2.3.0
env:
Expand Down

0 comments on commit 7c08c67

Please sign in to comment.