Add a disallow-all response for /robots.txt
.
#78
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: | |
- develop | |
- release | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Update Rust | |
run: rustup update stable | |
- name: Build release artifacts | |
run: cargo install --locked --path . --root ./out | |
# https://github.com/actions/upload-artifact/issues/38 is still not fixed. | |
- name: Package the binary | |
run: | | |
cd out/bin/ | |
zip camo.zip camo | |
- name: Get the built version number | |
id: version_number | |
run: echo "version=$(out/bin/camo --version | awk -F ' ' '{print $2}')" >> $GITHUB_OUTPUT | |
- name: Upload release artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: camo-${{ steps.version_number.outputs.version }}-linux-amd64 | |
path: out/bin/camo.zip |