Trigger build
This commit is contained in:
7
.github/workflows/build-rhel7.yml
vendored
7
.github/workflows/build-rhel7.yml
vendored
@@ -99,10 +99,17 @@ jobs:
|
||||
# id: daqingest_version_set
|
||||
# working-directory: ${{steps.wdset.outputs.gh}}/build/daqingest/target/release
|
||||
- run: "echo 'version: [${{steps.daqingest_version_set.outputs.daqingest_version}}]'"
|
||||
- run: "mkdir daqingest-${{steps.daqingest_version_set.outputs.daqingest_version}}"
|
||||
- run: "cp ${{steps.wdset.outputs.gh}}/build/daqingest/target/release/daqingest daqingest-${{steps.daqingest_version_set.outputs.daqingest_version}}/daqingest"
|
||||
- run: "tar -czf daqingest-${{steps.daqingest_version_set.outputs.daqingest_version}}.tar.gz daqingest-${{steps.daqingest_version_set.outputs.daqingest_version}}"
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: daqingest-${{steps.daqingest_version_set.outputs.daqingest_version}}
|
||||
path: ${{steps.wdset.outputs.gh}}/build/daqingest/target/release/daqingest
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: daqingest-${{steps.daqingest_version_set.outputs.daqingest_version}}.tar.gz
|
||||
path: daqingest-${{steps.daqingest_version_set.outputs.daqingest_version}}.tar.gz
|
||||
- run: echo "{\"tag_name\":\"buildaction\", \"name\":\"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 content-type:application/json -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
|
||||
|
||||
Reference in New Issue
Block a user