omnitrace-install.py (#221)

- omnitrace-install.py will be uploaded as a release asset
- script simplifies selecting the correct installer script
Tá an tiomantas seo le fáil i:
Jonathan R. Madsen údaraithe agus GitHub tiomanta 2022-12-16 05:31:40 -06:00
1 tuismitheoir 7ecc037d17
tiomantas 1f818054ce
4 comhad athraithe
+275 -1

Níor tháinig aon chomhaid le do chuardach

+10 -1
Féach ar an gComhad
@@ -28,11 +28,20 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Generate generic installer script
shell: bash
run: |
apt-get update
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: True
draft: False
generate_release_notes: True
fail_on_unmatched_files: True
files: |
omnitrace-install.py
release-docs:
if: github.repository == 'AMDResearch/omnitrace' && (startsWith(github.ref, 'refs/tags/') || contains(github.ref, 'releases/'))