- - uses: actions/checkout@v1
- - name: Litmus Parallel
- uses: puppetlabs/action-litmus_parallel@master
- with:
- platform: ${{ matrix.platform }}
- agent_family: ${{ matrix.agent_family }}
- Spec:
- runs-on: self-hosted
- strategy:
- matrix:
- check: [parallel_spec, 'syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop']
- ruby_version: [2.5.x]
- puppet_gem_version: [~> 5.0, ~> 6.0]
- exclude:
- - puppet_gem_version: ~> 5.0
- check: 'syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop'
- - ruby_version: 2.5.x
- puppet_gem_version: ~> 5.0
+ - name: Checkout code
+ uses: actions/checkout@v2
+ with:
+ ref: ${{ github.ref }}
+ clean: true
+ fetch-depth: 0
+ - name: Get Version
+ id: gv
+ run: |
+ echo "::set-output name=ver::$(jq --raw-output .version metadata.json)"
+ - name: Create Release
+ uses: actions/create-release@v1
+ id: create_release
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ tag_name: "v${{ steps.gv.outputs.ver }}"
+ draft: false
+ prerelease: false
+
+ deploy-forge:
+ name: Deploy to Forge
+ runs-on: ubuntu-20.04