Skip to content

Prepare release 4.0.0 #2

Prepare release 4.0.0

Prepare release 4.0.0 #2

Workflow file for this run

name: Build and publish to Puppet Forge
on:
push:
tags:

Check failure on line 5 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
- [0-9]+.[0-9]+.[0-9]+
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Get latest tag
id: vars
run: echo "{tag}=${GITHUB_REF:10}" >> $GITHUB_OUTPUT
- name: Clone repository
uses: actions/checkout@v3
with:
ref: ${{ steps.vars.outputs.tag }}
- name: Build and publish module
uses: barnumbirr/action-forge-publish@v2
env:
FORGE_API_KEY: ${{ secrets.FORGE_API_KEY }}
REPOSITORY_URL: https://forgeapi.puppet.com/v3/releases