Compare commits
5 Commits
ac79a2e0b7
...
v0.1.12
Author | SHA1 | Date | |
---|---|---|---|
ee6b947f29 | |||
18dd1ef528 | |||
8fa7866cc2 | |||
238ad87119 | |||
d584e21fd9 |
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
@@ -134,7 +134,7 @@ jobs:
|
|||||||
# working-directory: ${{ needs.detect-project.outputs.project-dir }}
|
# working-directory: ${{ needs.detect-project.outputs.project-dir }}
|
||||||
# run: cargo audit --ignore RUSTSEC-2020-0071 --ignore RUSTSEC-2020-0159
|
# run: cargo audit --ignore RUSTSEC-2020-0071 --ignore RUSTSEC-2020-0159
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build (${{ matrix.target }})
|
name: Build (${{ matrix.target }})
|
||||||
needs: [detect-project, test]
|
needs: [detect-project, test]
|
||||||
if: ${{ !failure() && !cancelled() }}
|
if: ${{ !failure() && !cancelled() }}
|
||||||
@@ -187,18 +187,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: ${{ matrix.artifact-name }}
|
name: ${{ matrix.artifact-name }}
|
||||||
path: |
|
path: |
|
||||||
${{ needs.detect-project.outputs.project-dir }}/target/${{ matrix.target }}/release/${{ needs.detect-project.outputs.project-name }}${{ matrix.os == 'windows' && '.exe' || '' }}"
|
${{ needs.detect-project.outputs.project-dir }}/target/${{ matrix.target }}/release/${{ needs.detect-project.outputs.project-name }}${{ matrix.os == 'windows' && '.exe' || '' }}
|
||||||
|
|
||||||
- name: Build documentation
|
|
||||||
working-directory: ${{ needs.detect-project.outputs.project-dir }}
|
|
||||||
run: cargo doc --no-deps
|
|
||||||
|
|
||||||
- name: Deploy to GitHub Pages
|
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
|
||||||
with:
|
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
publish_dir: ${{ needs.detect-project.outputs.project-dir }}/target/doc
|
|
||||||
publish_branch: gh-pages
|
|
||||||
|
|
||||||
docker-build:
|
docker-build:
|
||||||
name: Build and Push Docker Image
|
name: Build and Push Docker Image
|
||||||
|
@@ -56,7 +56,7 @@ pub async fn get_available_container(docker: &Docker) -> Vec<DockerContainer> {
|
|||||||
})
|
})
|
||||||
.unwrap_or_else(|| "unknown".to_string());
|
.unwrap_or_else(|| "unknown".to_string());
|
||||||
|
|
||||||
println!(" - ID: {}, Image: {:?}, Name: {}", short_id, container.image, name);
|
println!(" - ID: {}, Image: {}, Name: {}", short_id, container.image.unwrap(), name);
|
||||||
|
|
||||||
Some(DockerContainer {
|
Some(DockerContainer {
|
||||||
ID: short_id.to_string(),
|
ID: short_id.to_string(),
|
||||||
|
Reference in New Issue
Block a user