Loading .github/workflows/publish.yml 0 → 100644 +23 −0 Original line number Diff line number Diff line 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 id: vars run: echo ::set-output name=tag::${GITHUB_REF:10} - name: Clone repository uses: actions/checkout@v2 with: ref: ${{ steps.vars.outputs.tag }} - name: Build and publish module uses: barnumbirr/action-forge-publish@v2.8.0 env: FORGE_API_KEY: ${{ secrets.FORGE_API_KEY }} REPOSITORY_URL: https://forgeapi.puppet.com/v3/releases Loading
.github/workflows/publish.yml 0 → 100644 +23 −0 Original line number Diff line number Diff line 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 id: vars run: echo ::set-output name=tag::${GITHUB_REF:10} - name: Clone repository uses: actions/checkout@v2 with: ref: ${{ steps.vars.outputs.tag }} - name: Build and publish module uses: barnumbirr/action-forge-publish@v2.8.0 env: FORGE_API_KEY: ${{ secrets.FORGE_API_KEY }} REPOSITORY_URL: https://forgeapi.puppet.com/v3/releases