Skip to content

DB-209 creates artifact delete, upload and tags #1

DB-209 creates artifact delete, upload and tags

DB-209 creates artifact delete, upload and tags #1

name: artifact-upload
on:
pull_request:
types: [opened, synchronize]
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
jobs:
artifact-upload-server:
if: "!contains(github.event.pull_request.labels.*.name, 'skip-kvrocks-controller-upload')"
strategy: # If you only need 1 architecture, remove this matrix strategy and directly pass in the architecture
matrix:
architecture: [amd64, arm64]
uses: StackAdapt/actions/.github/workflows/stargate-upload.yml@main

Check failure on line 14 in .github/workflows/artifact-upload.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/artifact-upload.yml

Invalid workflow file

error parsing called workflow ".github/workflows/artifact-upload.yml" -> "StackAdapt/actions/.github/workflows/stargate-upload.yml@main" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
with:
component: kvrocks-controller
binary-name: kvctl-server
branch: ${{ github.head_ref }}
commit: ${{ github.event.pull_request.head.sha }}
architecture: ${{ matrix.architecture }}
make-command: server
output-dir: cmd/server
secrets:
action-token: ${{ secrets.GO_PRIVATE_MODULES }}
artifact-upload-client:
if: "!contains(github.event.pull_request.labels.*.name, 'skip-kvrocks-controller-upload')"
strategy: # If you only need 1 architecture, remove this matrix strategy and directly pass in the architecture
matrix:
architecture: [amd64, arm64]
uses: StackAdapt/actions/.github/workflows/stargate-upload.yml@main
with:
component: kvrocks-controller
binary-name: kvctl
branch: ${{ github.head_ref }}
commit: ${{ github.event.pull_request.head.sha }}
architecture: ${{ matrix.architecture }}
make-command: client
output-dir: cmd/client
secrets:
action-token: ${{ secrets.GO_PRIVATE_MODULES }}