mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	Inherit secrect in workflow (#1514)
This commit is contained in:
		
							
								
								
									
										19
									
								
								.github/workflows/prepare-release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										19
									
								
								.github/workflows/prepare-release.yml
									
									
									
									
										vendored
									
									
								
							| @@ -4,27 +4,28 @@ on: | |||||||
|   workflow_dispatch: |   workflow_dispatch: | ||||||
|     inputs: |     inputs: | ||||||
|       serverBump: |       serverBump: | ||||||
|         description: 'Bump server version' |         description: "Bump server version" | ||||||
|         required: true |         required: true | ||||||
|         default: 'false' |         default: "false" | ||||||
|         type: choice |         type: choice | ||||||
|         options: |         options: | ||||||
|         - false |           - "false" | ||||||
|         - minor |           - minor | ||||||
|         - patch |           - patch | ||||||
|       mobileBump: |       mobileBump: | ||||||
|         description: 'Bump mobile build number' |         description: "Bump mobile build number" | ||||||
|         required: false |         required: false | ||||||
|         type: boolean |         type: boolean | ||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|   build_mobile: |   build_mobile: | ||||||
|     uses: ./.github/workflows/build-mobile.yml |     uses: ./.github/workflows/build-mobile.yml | ||||||
|  |     secrets: inherit | ||||||
|  |  | ||||||
|   tag_release: |   tag_release: | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     needs: build_mobile |     needs: build_mobile | ||||||
|      |  | ||||||
|     steps: |     steps: | ||||||
|       - name: Checkout |       - name: Checkout | ||||||
|         uses: actions/checkout@v3 |         uses: actions/checkout@v3 | ||||||
| @@ -33,7 +34,7 @@ jobs: | |||||||
|  |  | ||||||
|       - name: Bump version |       - name: Bump version | ||||||
|         run: misc/release/pump-version.sh -s "${{ inputs.serverBump }}" -m "${{ inputs.mobileBump }}" |         run: misc/release/pump-version.sh -s "${{ inputs.serverBump }}" -m "${{ inputs.mobileBump }}" | ||||||
|            |  | ||||||
|       - name: Commit and tag |       - name: Commit and tag | ||||||
|         uses: EndBug/add-and-commit@v9 |         uses: EndBug/add-and-commit@v9 | ||||||
|         with: |         with: | ||||||
| @@ -47,7 +48,7 @@ jobs: | |||||||
|         uses: actions/download-artifact@v3 |         uses: actions/download-artifact@v3 | ||||||
|         with: |         with: | ||||||
|           name: release-apk-signed |           name: release-apk-signed | ||||||
|            |  | ||||||
|       - name: Create draft release |       - name: Create draft release | ||||||
|         uses: softprops/action-gh-release@v1 |         uses: softprops/action-gh-release@v1 | ||||||
|         with: |         with: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user