From f6ff002828420f961108f3ee813bf8642eecc2d1 Mon Sep 17 00:00:00 2001 From: Joshua Li Date: Tue, 7 Dec 2021 10:54:02 -0800 Subject: [PATCH] Fix apt source and link checker for CI (#245) * Update apt source in CI Signed-off-by: Joshua Li * Try fix link checker Signed-off-by: Joshua Li --- .../workflows/dashboards-reports-test-and-build-workflow.yml | 1 + .github/workflows/link-checker.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dashboards-reports-test-and-build-workflow.yml b/.github/workflows/dashboards-reports-test-and-build-workflow.yml index 5bf943df..cf1d1eb5 100644 --- a/.github/workflows/dashboards-reports-test-and-build-workflow.yml +++ b/.github/workflows/dashboards-reports-test-and-build-workflow.yml @@ -32,6 +32,7 @@ jobs: - name: Add Chromium Binary to Reporting for Testing run: | + sudo apt update sudo apt install -y libnss3-dev fonts-liberation libfontconfig1 cd OpenSearch-Dashboards/plugins/${{ env.PLUGIN_NAME }} wget https://github.com/opendistro-for-elasticsearch/kibana-reports/releases/download/chromium-1.12.0.0/chromium-linux-x64.zip diff --git a/.github/workflows/link-checker.yml b/.github/workflows/link-checker.yml index b6f0fae2..b804cd1f 100644 --- a/.github/workflows/link-checker.yml +++ b/.github/workflows/link-checker.yml @@ -16,7 +16,7 @@ jobs: id: lychee uses: lycheeverse/lychee-action@master with: - args: --accept=200,403,429 "**/*.md" "**/*.txt" + args: --accept=200,403,429 "./**/*.md" "./**/*.txt" env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - name: Fail if there were link errors