Skip to content

Bump actions/download-artifact from 4.1.7 to 4.1.8 #104

Bump actions/download-artifact from 4.1.7 to 4.1.8

Bump actions/download-artifact from 4.1.7 to 4.1.8 #104

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:v43-rust
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- 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:v43-rust-musl
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- 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@fa0a91b85d4f404e444e00e005971372dc801d16
with:
path: ${{ runner.temp }}/artifacts
- run: find "$RUNNER_TEMP"/artifacts -type f -ls
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- if: needs.meta.outputs.mode == 'release'
uses: softprops/action-gh-release@69320dbe05506a9a39fc8ae11030b214ec2d1f87
with:
name: validator ${{ needs.meta.outputs.version }}
files: ${{ runner.temp }}/artifacts/**/*