File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 # release:
1414 # types: [published]
1515
16+ env :
17+ dev : ${{ inputs.dev || github.event.release.prerelease }}
18+
1619jobs :
1720 build :
1821 name : " Build"
3437 - name : " Debug"
3538 continue-on-error : true
3639 run : |
37- echo "inputs.dev: ${{ inputs.dev }}"
38- echo "inputs.tags: ${{ inputs.tags }}"
3940 echo "github.ref_name: ${{ github.ref_name }}"
41+ echo "inputs.tags: ${{ inputs.tags }}"
42+ echo "inputs.dev: ${{ inputs.dev }}"
43+ echo "env.dev: ${{ env.dev }}"
4044
4145 - name : " Checkout"
4246 uses : actions/checkout@v5
5458 platforms : linux/amd64,linux/arm64
5559
5660 - name : " Update Version Tags"
57- if : ${{ inputs .dev != true }}
61+ if : ${{ !env .dev }}
5862 id : version
5963 uses : cssnr/update-version-tags-action@v1
6064 with :
6670 continue-on-error : true
6771 run : |
6872 echo "github.ref_name: ${{ github.ref_name }}"
69- echo "tags1: ${{ inputs .dev == true && 'dev' || '' }}"
73+ echo "tags1: ${{ env .dev && 'dev' || '' }}"
7074 echo "tags2: ${{ steps.version.outputs.tags }}"
7175 echo "tags3: ${{ inputs.tags }}"
7276
7680 with :
7781 images : " ghcr.io/${{ github.repository }}"
7882 tags : |
79- ${{ inputs .dev == true && 'dev' || '' }}
83+ ${{ env .dev && 'dev' || '' }}
8084 ${{ steps.version.outputs.tags }}
8185 ${{ inputs.tags }}
8286
You can’t perform that action at this time.
0 commit comments