From 5a3ea7164875f0cf8fafd06e0060cb91d67f764d Mon Sep 17 00:00:00 2001 From: Dominik Werder Date: Wed, 6 Sep 2023 10:33:39 +0200 Subject: [PATCH] Trigger build --- .github/workflows/build-rhel7.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-rhel7.yml b/.github/workflows/build-rhel7.yml index 219db4f..72eb20f 100644 --- a/.github/workflows/build-rhel7.yml +++ b/.github/workflows/build-rhel7.yml @@ -102,5 +102,6 @@ jobs: with: name: daqingest-${{ steps.daqingest_version_set.outputs.daqingest_version }}-amd64-rhel7 path: ${{steps.wdset.outputs.gh}}/build/daqingest/target/release/daqingest - - run: "curl -v -o rel.json -L -X POST -H 'accept:application/vnd.github+json' -H 'authorization:Bearer ${{secrets.github_token}}' -H 'X-GitHub-Api-Version: 2022-11-28' https://api.github.com/repos/paulscherrerinstitute/daqingest/releases" + - run: echo "{\"tag_name\":\"buildaction\", \"name\":\"relname-daqingest-${{steps.daqingest_version_set.outputs.daqingest_version}}\", \"draft\":true, \"prerelease\":true}" > create-rel.json + - run: "curl -v -o rel.json -L -X POST -H 'accept:application/vnd.github+json' -H 'authorization:Bearer ${{secrets.github_token}}' -H 'X-GitHub-Api-Version: 2022-11-28' -T create-rel.json https://api.github.com/repos/paulscherrerinstitute/daqingest/releases" - run: cat rel.json