Compare commits
	
		
			No commits in common. "test" and "v1" have entirely different histories.
		
	
	
		
	
		
@ -186,10 +186,10 @@ runs:
 | 
				
			|||||||
        RUST_CACHE_PARAMETERS: ${{ inputs.rust-cache-parameters }}
 | 
					        RUST_CACHE_PARAMETERS: ${{ inputs.rust-cache-parameters }}
 | 
				
			||||||
      if: inputs.use-rust-cache == 'true'
 | 
					      if: inputs.use-rust-cache == 'true'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # - name: Cache cargo & target directories
 | 
					    - name: Cache cargo & target directories
 | 
				
			||||||
    #   uses: Swatinem/rust-cache@v2
 | 
					      uses: Swatinem/rust-cache@v2
 | 
				
			||||||
    #   with: ${{ steps.parse-rust-cache-parameters.outputs }}
 | 
					      with: ${{ steps.parse-rust-cache-parameters.outputs }}
 | 
				
			||||||
    #   if: inputs.use-rust-cache == 'true'
 | 
					      if: inputs.use-rust-cache == 'true'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Run cargo test
 | 
					    - name: Run cargo test
 | 
				
			||||||
      working-directory: ${{ inputs.working-directory }}
 | 
					      working-directory: ${{ inputs.working-directory }}
 | 
				
			||||||
 | 
				
			|||||||
@ -9,6 +9,7 @@ VERSION=$1
 | 
				
			|||||||
if [ -z "$VERSION" ]; then
 | 
					if [ -z "$VERSION" ]; then
 | 
				
			||||||
    JSON=$(curl \
 | 
					    JSON=$(curl \
 | 
				
			||||||
        --request GET \
 | 
					        --request GET \
 | 
				
			||||||
 | 
					        --header "Authorization: Bearer $GITHUB_TOKEN" \
 | 
				
			||||||
        https://api.github.com/repos/cross-rs/cross/releases/latest)
 | 
					        https://api.github.com/repos/cross-rs/cross/releases/latest)
 | 
				
			||||||
    VERSION=$(echo "$JSON" | jq -r ".tag_name")
 | 
					    VERSION=$(echo "$JSON" | jq -r ".tag_name")
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
				
			|||||||
@ -26,5 +26,5 @@ curl --silent --location \
 | 
				
			|||||||
    https://raw.githubusercontent.com/houseabsolute/ubi/master/bootstrap/bootstrap-ubi.sh |
 | 
					    https://raw.githubusercontent.com/houseabsolute/ubi/master/bootstrap/bootstrap-ubi.sh |
 | 
				
			||||||
    sh
 | 
					    sh
 | 
				
			||||||
# shellcheck disable=SC2086
 | 
					# shellcheck disable=SC2086
 | 
				
			||||||
GITHUB_TOKEN= ./ubi --project cross-rs/cross --matching musl --in . $VERSION_ARGS
 | 
					./ubi --project cross-rs/cross --matching musl --in . $VERSION_ARGS
 | 
				
			||||||
CROSS_NO_WARNINGS=0 ./cross --version
 | 
					CROSS_NO_WARNINGS=0 ./cross --version
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user