Fix release workflow (#228)

- remove docs updates and release step from cpack.yml workflow
- create docs.yml workflow
- create release.yml workflow
- update source/docs/environment.yml
- add status badge for documentation

[ROCm/rocprofiler-systems commit: 12001d9633]
This commit is contained in:
Jonathan R. Madsen
2023-01-15 23:04:15 -06:00
committed by GitHub
parent 2c3a240ed6
commit 234dc4f460
5 changed files with 301 additions and 75 deletions
@@ -0,0 +1,39 @@
name: Release
on:
workflow_dispatch:
push:
tags:
- v*
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
GIT_DISCOVERY_ACROSS_FILESYSTEM: 1
jobs:
release:
if: github.repository == 'AMDResearch/omnitrace'
runs-on: ubuntu-20.04
permissions:
contents: write
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3
- 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-omnitrace-install.cmake
- name: Generate Release
uses: softprops/action-gh-release@v1
with:
draft: False
generate_release_notes: True
fail_on_unmatched_files: True
files: |
omnitrace-install.py