fix workflow release for gha

This commit is contained in:
Samuel Beaulieu 2022-07-06 13:46:27 -05:00
parent c3c1a8e1e5
commit bd1b21736a
No known key found for this signature in database
GPG key ID: 12030F74136D0F34
2 changed files with 2 additions and 769 deletions

View file

@ -5,13 +5,13 @@ on: workflow_dispatch
jobs:
release:
runs-on: ubuntu-latest
if: github.repository == 'puppetlabs/vmpooler-provider-gce'
if: github.repository == 'puppetlabs/vmpooler-provider-aws'
steps:
- uses: actions/checkout@v2
- name: Get Version
id: gv
run: |
echo "::set-output name=ver::$(grep VERSION lib/vmpooler-provider-gce/version.rb |rev |cut -d "'" -f2 |rev)"
echo "::set-output name=ver::$(grep VERSION lib/vmpooler-provider-aws/version.rb |rev |cut -d "'" -f2 |rev)"
- name: Tag Release
uses: ncipollo/release-action@v1
with: