From d1625cdc4a1e59333c681b9cf0fc3d4956f1f55c Mon Sep 17 00:00:00 2001 From: Andreas Rossberg Date: Wed, 4 Sep 2024 10:54:14 +0200 Subject: [PATCH] Use consistent versions for upload & download --- .github/workflows/ci-spec.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci-spec.yml b/.github/workflows/ci-spec.yml index 80dc43920..605798bf2 100644 --- a/.github/workflows/ci-spec.yml +++ b/.github/workflows/ci-spec.yml @@ -35,7 +35,7 @@ jobs: - name: Run Bikeshed run: cd document/core && make bikeshed - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: core-rendered path: document/core/_build/html @@ -50,7 +50,7 @@ jobs: - name: Run Bikeshed run: bikeshed spec "document/js-api/index.bs" "document/js-api/index.html" - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: js-api-rendered path: document/js-api/index.html @@ -65,7 +65,7 @@ jobs: - name: Run Bikeshed run: bikeshed spec "document/web-api/index.bs" "document/web-api/index.html" - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: web-api-rendered path: document/web-api/index.html @@ -85,7 +85,7 @@ jobs: - name: Build main spec run: cd document/metadata/code && make main - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: code-metadata-rendered path: document/metadata/code/_build/html @@ -104,7 +104,7 @@ jobs: - name: Build main spec run: cd document/legacy/exceptions/core && make main - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: legacy-exceptions-core-rendered path: document/legacy/exceptions/core/_build/html @@ -119,7 +119,7 @@ jobs: - name: Run Bikeshed run: bikeshed spec "document/legacy/exceptions/js-api/index.bs" "document/legacy/exceptions/js-api/index.html" - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: legacy-exceptions-js-api-rendered path: document/legacy/exceptions/js-api/index.html @@ -133,32 +133,32 @@ jobs: - name: Create output directory run: mkdir _output && cp document/index.html _output/index.html - name: Download core spec artifact - uses: actions/download-artifact@v4.1.7 + uses: actions/download-artifact@v4 with: name: core-rendered path: _output/core - name: Download JS API spec artifact - uses: actions/download-artifact@v4.1.7 + uses: actions/download-artifact@v4 with: name: js-api-rendered path: _output/js-api - name: Download Web API spec artifact - uses: actions/download-artifact@v4.1.7 + uses: actions/download-artifact@v4 with: name: web-api-rendered path: _output/web-api - name: Download code metadata spec artifact - uses: actions/download-artifact@v4.1.7 + uses: actions/download-artifact@v4 with: name: code-metadata-rendered path: _output/metadata/code - name: Download legacy exceptions core spec artifact - uses: actions/download-artifact@v4.1.7 + uses: actions/download-artifact@v4 with: name: legacy-exceptions-core-rendered path: _output/legacy/exceptions/core - name: Download legacy exceptions JS API spec artifact - uses: actions/download-artifact@v4.1.7 + uses: actions/download-artifact@v4 with: name: legacy-exceptions-js-api-rendered path: _output/legacy/exceptions/js-api