8a70f4b15d
* Update runners to `ubuntu-latest`.
The `ubuntu-20.04` runner is deprecated and will be removed.
* Add 'vim' and 'perfetto' to CI docker images
For convenience when using the images locally.
[ROCm/rocprofiler-systems commit: a25554359b]
41 řádky
977 B
YAML
41 řádky
977 B
YAML
name: Release
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
tags:
|
|
- "v[1-9].[0-9]+.[0-9]+*"
|
|
- "rocm-[1-9].[0-9]+.[0-9]+*"
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
env:
|
|
GIT_DISCOVERY_ACROSS_FILESYSTEM: 1
|
|
|
|
jobs:
|
|
release:
|
|
if: github.repository == 'ROCm/rocprofiler-systems'
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
packages: write
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Generate generic installer script
|
|
shell: bash
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y cmake
|
|
cmake -D OUTPUT_DIR=${PWD} -P scripts/write-rocprof-sys-install.cmake
|
|
- name: Generate Release
|
|
uses: softprops/action-gh-release@v1
|
|
with:
|
|
draft: False
|
|
generate_release_notes: True
|
|
fail_on_unmatched_files: True
|
|
files: |
|
|
rocprofiler-systems-install.py
|