Skip to content

Commit

Permalink
[CI|CentOS] Fix asset upload for CentOS (#83)
Browse files Browse the repository at this point in the history
* [CI|CentOS] Fix asset upload for CentOS

* Partially revert previous commit
  • Loading branch information
flomnes authored Mar 3, 2023
1 parent 762ecfb commit c055373
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/centos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:

env:
GITHUB_TOKEN: ${{ github.token }}
RELEASE_CREATED: ${{ github.event_name == 'release' && github.event.action == 'created' }}

jobs:

Expand Down Expand Up @@ -56,20 +57,10 @@ jobs:
APPENDIX_WITH_SHARED="${OS}${WITH_SHARED}${WITH_SIRIUS}"
echo "::set-output name=appendix_with_shared::$APPENDIX_WITH_SHARED"
# Fill variable ${BRANCH_NAME}
- uses: nelonoel/branch-name@v1.0.1

- name: is release created
run: |
release_created=${{ github.event_name == 'release' && github.event.action == 'created' }}
echo "RELEASE_CREATED=$release_created" >> $GITHUB_ENV
- name: Get release
if: ${{ env.RELEASE_CREATED == 'true' }}
id: get_release
uses:
bruceadams/get-release@v1.2.3

- name: install requirements
- name: Install requirements (yum)
run: |
yum install -y epel-release
yum install -y git redhat-lsb-core make wget centos-release-scl scl-utils
Expand Down

0 comments on commit c055373

Please sign in to comment.