-
Notifications
You must be signed in to change notification settings - Fork 4
32 lines (29 loc) · 917 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
# Copyright (C) 2020-2024 Arm Limited or its affiliates and Contributors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
name: Publishable
concurrency:
group: ${{ github.repository }}-${{ github.workflow }}-${{ inputs.branch || github.head_ref || github.ref }}
cancel-in-progress: true
on:
push:
branches: [ main ]
tags-ignore:
- '**'
pull_request:
branches: [ main ]
jobs:
publish-project-action:
name: Publish Action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Arm-Examples/publish-cmsis-example@latest
name: Publish Project Action
with:
branch: ${{ github.branch || github.ref }}
project-file: ./hello.csolution.yml
dry-run: ${{ github.ref != 'refs/heads/main' }}
PUBLISH_API_KEY: ${{ secrets.KEIL_API_TOKEN }}
CMSIS_API_KEY: ${{ secrets.CMSIS_API_KEY }}