Skip to content

Commit

Permalink
actions/upload-artifact@v3
Browse files Browse the repository at this point in the history
  • Loading branch information
flomnes committed Sep 19, 2024
1 parent 540d864 commit 3e8ba06
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions .github/workflows/centos7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ env:
IS_RELEASE: ${{ github.event_name == 'workflow_dispatch' }}
IS_PUSH: ${{ github.event_name == 'push' }}
REF: ${{ inputs.target_branch =='' && github.ref_name || inputs.target_branch}}
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

jobs:

Expand All @@ -32,30 +33,20 @@ jobs:
ORTOOLSDIR: ${{ github.workspace }}/or-tools

runs-on: ubuntu-latest
container:
image: 'antaresrte/rte-antares:centos7-simulator-no-deps'
volumes:
- /node20217:/node20217:rw,rshared
- /node20217:/__e/node20:ro,rshared
container: 'antaresrte/rte-antares:centos7-simulator-no-deps'

steps:
- name: install nodejs20glibc2.17
if: always()
run: |
curl -LO https://unofficial-builds.nodejs.org/download/release/v20.17.0/node-v20.17.0-linux-x64-glibc-217.tar.xz
tar -xf node-v20.17.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
ldd /__e/node20/bin/node

- name: Upload bash (TODO REMOVE THIS)
uses: actions/upload-artifact@v4
- name: Installer archive upload push
uses: actions/upload-artifact@v3
with:
name: bash
path: /bin/bash

- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ env.REF }}

- name: Checkout
run: |
git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git -b ${{ env.REF }} .
- name: Install gcc 10
run: |
Expand Down Expand Up @@ -132,7 +123,7 @@ jobs:
rm -rf install
- name: Installer archive upload push
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: solver-targz
path: _build/*.tar.gz
Expand Down

0 comments on commit 3e8ba06

Please sign in to comment.