mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	chore: backport changed made in the workflow (#7255)
Just backporting what we tested in 5.12
This commit is contained in:
		
							parent
							
								
									75529f465d
								
							
						
					
					
						commit
						1a0a7c18f3
					
				
							
								
								
									
										6
									
								
								.github/workflows/docker_publish.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/docker_publish.yaml
									
									
									
									
										vendored
									
									
								
							@ -21,7 +21,13 @@ jobs:
 | 
			
		||||
      matrix:
 | 
			
		||||
        version: [20.13.1-alpine]
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Checkout tag v${{ inputs.version }}
 | 
			
		||||
        if: ${{ inputs.version != '' }}
 | 
			
		||||
        uses: actions/checkout@v4
 | 
			
		||||
        with:
 | 
			
		||||
          ref: v${{ inputs.version }} # tag that should be created by the caller workflow
 | 
			
		||||
      - name: Checkout
 | 
			
		||||
        if: ${{ inputs.version == '' }}
 | 
			
		||||
        uses: actions/checkout@v4
 | 
			
		||||
      - name: Setup QEmu so we can build multiplatform
 | 
			
		||||
        uses: docker/setup-qemu-action@v2
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										3
									
								
								.github/workflows/publish-new-version.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/publish-new-version.yaml
									
									
									
									
										vendored
									
									
								
							@ -113,12 +113,14 @@ jobs:
 | 
			
		||||
  publish-docker:
 | 
			
		||||
    needs: build
 | 
			
		||||
    uses: ./.github/workflows/docker_publish.yaml
 | 
			
		||||
    secrets: inherit
 | 
			
		||||
    with:
 | 
			
		||||
      version: ${{ github.event.inputs.version }}
 | 
			
		||||
  
 | 
			
		||||
  publish-npm:
 | 
			
		||||
    needs: build
 | 
			
		||||
    uses: ./.github/workflows/release.yaml
 | 
			
		||||
    secrets: inherit
 | 
			
		||||
    with:
 | 
			
		||||
      version: ${{ github.event.inputs.version }}
 | 
			
		||||
 | 
			
		||||
@ -132,5 +134,6 @@ jobs:
 | 
			
		||||
    needs: publish-docker
 | 
			
		||||
    if: ${{ github.event.inputs.update-version-function == 'true' }}
 | 
			
		||||
    uses: ./.github/workflows/update_version_for_version_checker.yml
 | 
			
		||||
    secrets: inherit
 | 
			
		||||
    with:
 | 
			
		||||
      version: ${{ github.event.inputs.version }}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								.github/workflows/release.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/release.yaml
									
									
									
									
										vendored
									
									
								
							@ -17,6 +17,8 @@ jobs:
 | 
			
		||||
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v4
 | 
			
		||||
        with:
 | 
			
		||||
          ref: v${{ inputs.version }} # tag that should be created by the caller workflow
 | 
			
		||||
      - name: Setup to npm
 | 
			
		||||
        uses: actions/setup-node@v4
 | 
			
		||||
        with:
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								.github/workflows/release_changelog.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/release_changelog.yml
									
									
									
									
										vendored
									
									
								
							@ -13,6 +13,8 @@ jobs:
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Checkout code
 | 
			
		||||
        uses: actions/checkout@v4
 | 
			
		||||
        with:
 | 
			
		||||
          ref: v${{ inputs.version }} # tag that should be created by the caller workflow
 | 
			
		||||
      - name: Build changelog
 | 
			
		||||
        id: github_release
 | 
			
		||||
        uses: metcalfc/changelog-generator@v4.3.1
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user