Skip to content

update version compability #2

update version compability

update version compability #2

Workflow file for this run

name: Build and publish to Puppet Forge
on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Get latest tag
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
- name: Clone repository
uses: actions/checkout@v1
with:
ref: ${{ env.RELEASE_VERSION }}
- name: Build and publish module
uses: barnumbirr/[email protected]
env:
FORGE_API_KEY: ${{ secrets.FORGE_API_KEY }}
REPOSITORY_URL: https://forgeapi.puppet.com/v3/releases