mirror of
				https://github.com/Vomitblood/stort.git
				synced 2025-11-04 04:37:21 +08:00 
			
		
		
		
	updated github actions workflow
This commit is contained in:
		
							parent
							
								
									8753805c36
								
							
						
					
					
						commit
						ebc527a79a
					
				
							
								
								
									
										19
									
								
								.github/workflows/build-validation.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										19
									
								
								.github/workflows/build-validation.yml
									
									
									
									
										vendored
									
									
								
							| 
						 | 
					@ -21,22 +21,23 @@ jobs:
 | 
				
			||||||
      - name: Checkout Repository
 | 
					      - name: Checkout Repository
 | 
				
			||||||
        uses: actions/checkout@v2
 | 
					        uses: actions/checkout@v2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Get Variables
 | 
					      # - name: Get Variables
 | 
				
			||||||
        run: |
 | 
					      #   run: |
 | 
				
			||||||
          git config --global --add safe.directory /__w/stort/stort
 | 
					      #     git config --global --add safe.directory /__w/stort/stort
 | 
				
			||||||
          echo "TAG_NAME=commit-$(date +%Y%m%d)-$(git rev-parse --short HEAD)" >> $GITHUB_ENV
 | 
					      #     echo "TAG_NAME=commit-$(date +%Y%m%d)-$(git rev-parse --short HEAD)" >> $GITHUB_ENV
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Update packages
 | 
					      # - name: Update packages
 | 
				
			||||||
        run: apt update && apt upgrade -y
 | 
					      #   run: apt update && apt upgrade -y
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Install dependencies for Tauri
 | 
					      # - name: Install dependencies for Tauri
 | 
				
			||||||
        run: apt install -y libwebkit2gtk-4.0-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
 | 
					      #   run: apt install -y libwebkit2gtk-4.0-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Install Rust
 | 
					      - name: Install Rust
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
 | 
					          apt update && apt install -y curl
 | 
				
			||||||
          curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
 | 
					          curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
 | 
				
			||||||
          echo $HOME
 | 
					          echo $HOME
 | 
				
			||||||
          source "$HOME/.cargo/env"
 | 
					          . "$HOME/.cargo/env"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Testing
 | 
					      - name: Testing
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue