1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Add complete debug to release workflow for testing (#6364)

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-10-07 11:24:25 -04:00 committed by GitHub
parent 51ff596c5d
commit 1239a8faf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,22 +10,24 @@ jobs:
steps: steps:
- name: Print event - name: Print event
run: | run: |
echo "${{ github.event.pull_request.merged }}" echo "merged=${{ github.event.pull_request.merged }}"
echo "${{ github.event.pull_request.base.ref }}" echo "ref=${{ github.event.pull_request.base.ref }}"
echo "is_release=${{ contains(github.event.pull_request.labels.*.name, 'release') }}"
echo "should_continue=${{ github.event.pull_request.merged == 'true' && contains(github.event.pull_request.labels.*.name, 'release') && (github.event.pull_request.base.ref == 'master' || startsWith(github.event.pull_request.base.ref, 'release/v')) }}"
exit 1 exit 1
- name: Checkout Release from lens # - name: Checkout Release from lens
uses: actions/checkout@v2 # uses: actions/checkout@v2
with: # with:
fetch-depth: 0 # fetch-depth: 0
- uses: butlerlogic/action-autotag@stable # - uses: butlerlogic/action-autotag@stable
id: tagger # id: tagger
with: # with:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" # GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
tag_prefix: "v" # tag_prefix: "v"
- uses: ncipollo/release-action@v1 # - uses: ncipollo/release-action@v1
if: ${{ needs.tag.outputs.tagname != '' }} # if: ${{ needs.tag.outputs.tagname != '' }}
with: # with:
name: v${{ steps.open-lens-version.outputs.VERSION }} # name: v${{ steps.open-lens-version.outputs.VERSION }}
commit: master # commit: master
tag: v${{ steps.open-lens-version.outputs.VERSION }} # tag: v${{ steps.open-lens-version.outputs.VERSION }}
body: ${{ github.event.pull_request.body }} # body: ${{ github.event.pull_request.body }}