Skip to content

Commit

Permalink
Revert new_release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
flomnes committed Jun 21, 2024
1 parent 55fd528 commit 81a92de
Showing 1 changed file with 55 additions and 55 deletions.
110 changes: 55 additions & 55 deletions .github/workflows/new_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,63 +21,63 @@ on:
required: true
type: boolean
jobs:
release:
name: Release pushed tag
runs-on: ubuntu-20.04
steps:
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.event.inputs.release_tag }}
title: ${{ github.event.inputs.release_name }}
tests: ${{ github.event.inputs.run-tests }}
target_branch: ${{ github.event.inputs.target_branch }}
latest: ${{ github.event.inputs.set_latest }}
run: |
gh release create "$tag" \
--repo="$GITHUB_REPOSITORY" \
--title="$title" \
--notes="Run tests: $tests"\
--target="$target_branch" \
--latest=$latest
release:
name: Release pushed tag
runs-on: ubuntu-20.04
steps:
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.event.inputs.release_tag }}
title: ${{ github.event.inputs.release_name }}
tests: ${{ github.event.inputs.run-tests }}
target_branch: ${{ github.event.inputs.target_branch }}
latest: ${{ github.event.inputs.set_latest }}
run: |
gh release create "$tag" \
--repo="$GITHUB_REPOSITORY" \
--title="$title" \
--notes="Run tests: $tests"\
--target="$target_branch" \
--latest=$latest
ubuntu:
name: Release - Ubuntu
needs: release
uses: ./.github/workflows/ubuntu.yml
with:
run-tests: ${{ inputs.run-tests }}
target_branch: ${{ inputs.target_branch }}
windows:
name: Release - Windows
needs: release
uses: ./.github/workflows/windows-vcpkg.yml
with:
run-tests: ${{ inputs.run-tests }}
target_branch: ${{ inputs.target_branch }}
ubuntu:
name: Release - Ubuntu
needs: release
uses: ./.github/workflows/ubuntu.yml
with:
run-tests: ${{ inputs.run-tests }}
target_branch: ${{ inputs.target_branch }}

centos7:
name: Release - centos7
needs: release
uses: ./.github/workflows/centos7.yml
with:
run-tests: ${{ inputs.run-tests }}
target_branch: ${{ inputs.target_branch }}
windows:
name: Release - Windows
needs: release
uses: ./.github/workflows/windows-vcpkg.yml
with:
run-tests: ${{ inputs.run-tests }}
target_branch: ${{ inputs.target_branch }}

oracle8:
name: Release - oracle8
needs: release
uses: ./.github/workflows/oracle8.yml
with:
run-tests: ${{ inputs.run-tests }}
target_branch: ${{ inputs.target_branch }}
centos7:
name: Release - centos7
needs: release
uses: ./.github/workflows/centos7.yml
with:
run-tests: ${{ inputs.run-tests }}
target_branch: ${{ inputs.target_branch }}

user_guide:
name: User Guide
needs: release
uses: ./.github/workflows/build-userguide.yml
with:
run-tests: ${{ inputs.run-tests }}
target_branch: ${{ inputs.target_branch }}
oracle8:
name: Release - oracle8
needs: release
uses: ./.github/workflows/oracle8.yml
with:
run-tests: ${{ inputs.run-tests }}
target_branch: ${{ inputs.target_branch }}

user_guide:
name: User Guide
needs: release
uses: ./.github/workflows/build-userguide.yml
with:
run-tests: ${{ inputs.run-tests }}
target_branch: ${{ inputs.target_branch }}

0 comments on commit 81a92de

Please sign in to comment.