diff --git a/Cargo.lock b/Cargo.lock index 5a22604..5f0b90d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2333,7 +2333,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "screenly" -version = "1.0.1" +version = "1.0.2" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index e130f91..65dd74a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "screenly" -version = "1.0.1" +version = "1.0.2" edition = "2021" [[bin]] @@ -19,7 +19,10 @@ glob = "0.3.1" hex = "0.4.3" http-auth-basic = "0.3.3" indicatif = "0.17.2" -log = { version = "0.4.17", features = ["release_max_level_debug", "max_level_debug"] } +log = { version = "0.4.17", features = [ + "release_max_level_debug", + "max_level_debug", +] } openssl = { version = '0.10', features = ["vendored"] } prettytable-rs = "0.10.0" protobuf = "3.3.0" @@ -35,7 +38,7 @@ serde_with = "3.8.3" serde_yaml = "0.9.17" sha1 = "0.10.5" sha2 = "0.10.7" -simple_logger = { version = "4.0.0", features= ["colors"]} +simple_logger = { version = "4.0.0", features = ["colors"] } strum = "0.25" strum_macros = "0.25" temp-env = "0.3.6" diff --git a/Dockerfile b/Dockerfile index 0cb906d..762748f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM alpine:3 as builder WORKDIR /usr/src/screenly-cli RUN apk add --no-cache wget tar -ARG RELEASE=v1.0.1 +ARG RELEASE=v1.0.2 RUN wget "https://github.com/Screenly/cli/releases/download/$RELEASE/screenly-cli-x86_64-unknown-linux-musl.tar.gz" RUN tar xfz screenly-cli-x86_64-unknown-linux-musl.tar.gz diff --git a/action.yml b/action.yml index 21a9fd0..0f30044 100644 --- a/action.yml +++ b/action.yml @@ -1,11 +1,11 @@ --- # action.yml -name: 'Screenly' -description: 'GitHub Actions for Screenly.' -author: 'Screenly, Inc' +name: "Screenly" +description: "GitHub Actions for Screenly." +author: "Screenly, Inc" branding: - icon: 'code' - color: 'purple' + icon: "code" + color: "purple" inputs: screenly_api_token: description: "Your Screenly API token." @@ -19,7 +19,7 @@ inputs: required: false cli_version: description: "Screenly CLI version." - default: "v1.0.1" + default: "v1.0.2" outputs: cli_commands_response: @@ -27,7 +27,7 @@ outputs: value: ${{ steps.run-cli.outputs.response }} runs: - using: 'composite' + using: "composite" steps: - name: Download CLI id: download-cli @@ -47,7 +47,7 @@ runs: set -o pipefail API_TOKEN=${{ inputs.screenly_api_token }} RUST_LOG=debug /tmp/screenly ${{ inputs.cli_commands }} >> /tmp/screenly_cli_command_output.txt - + # Filter logs from github output, while still saving them as artifact. Filtered lines are like: 2024-10-16T13:16:13.974Z DEBUG [reqwest::connect] ... grep -Ev '^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}Z[[:space:]](DEBUG|INFO|WARNING|ERROR)' /tmp/screenly_cli_command_output.txt | tr '\n' ' ' > /tmp/command_cleaned_output.txt echo "response=$(cat /tmp/command_cleaned_output.txt)" >> "$GITHUB_OUTPUT"