Skip to content

Bump actions/download-artifact from 4.1.1 to 4.1.4 #87

Bump actions/download-artifact from 4.1.1 to 4.1.4

Bump actions/download-artifact from 4.1.1 to 4.1.4 #87

name: Validator release
on:
pull_request:
paths:
- .github/workflows/release-validator.yml
push:
tags: ["validator/v*"]
permissions:
contents: read
jobs:
meta:
timeout-minutes: 15
runs-on: ubuntu-latest
container: ghcr.io/linkerd/dev:v42-rust
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: ./.github/actions/version-mode
id: meta
with:
package: validator
check: true
outputs:
repo: ${{ steps.meta.outputs.repo }}
mode: ${{ steps.meta.outputs.mode }}
version: ${{ steps.meta.outputs.version }}
package:
needs: meta
strategy:
matrix:
arch: [amd64, arm64, arm]
timeout-minutes: 10
runs-on: ubuntu-latest
container: ghcr.io/linkerd/dev:v42-rust-musl
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- run: just validator arch=${{ matrix.arch }} profile=release version=${{ needs.meta.outputs.version }} package
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.arch }}-artifacts
path: target/package/
publish:
needs: [meta, package]
timeout-minutes: 5
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427
with:
path: ${{ runner.temp }}/artifacts
- run: find "$RUNNER_TEMP"/artifacts -type f -ls
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- if: needs.meta.outputs.mode == 'release'
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844
with:
name: validator ${{ needs.meta.outputs.version }}
files: ${{ runner.temp }}/artifacts/**/*