Added cargo cache to gitlab ci cache
This commit is contained in:
		@@ -11,12 +11,16 @@ build:
 | 
				
			|||||||
    rules:
 | 
					    rules:
 | 
				
			||||||
      - if: $CI_COMMIT_BRANCH == "installer"
 | 
					      - if: $CI_COMMIT_BRANCH == "installer"
 | 
				
			||||||
    script:
 | 
					    script:
 | 
				
			||||||
 | 
					        - export CARGO_HOME="${PWD}/.cargo"
 | 
				
			||||||
        - apk add pkgconf musl-dev
 | 
					        - apk add pkgconf musl-dev
 | 
				
			||||||
        - RUSTFLAGS='-C target-feature=+crt-static -C link-self-contained=yes -C link-arg=-s' cargo build --release --target x86_64-unknown-linux-musl
 | 
					        - RUSTFLAGS='-C target-feature=+crt-static -C link-self-contained=yes -C link-arg=-s' cargo build --release --target x86_64-unknown-linux-musl
 | 
				
			||||||
        - cp target/x86_64-unknown-linux-musl/release/dotfiles_installer ./installer-amd64
 | 
					        - cp target/x86_64-unknown-linux-musl/release/dotfiles_installer ./installer-amd64
 | 
				
			||||||
    artifacts:
 | 
					    artifacts:
 | 
				
			||||||
        paths:
 | 
					        paths:
 | 
				
			||||||
            - installer-amd64
 | 
					            - installer-amd64
 | 
				
			||||||
 | 
					    cache:
 | 
				
			||||||
 | 
					        paths:
 | 
				
			||||||
 | 
					            - .cargo/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
upload_assets:
 | 
					upload_assets:
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										5
									
								
								.idea/codeStyles/codeStyleConfig.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								.idea/codeStyles/codeStyleConfig.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
				
			|||||||
 | 
					<component name="ProjectCodeStyleConfiguration">
 | 
				
			||||||
 | 
					  <state>
 | 
				
			||||||
 | 
					    <option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
 | 
				
			||||||
 | 
					  </state>
 | 
				
			||||||
 | 
					</component>
 | 
				
			||||||
		Reference in New Issue
	
	Block a user