Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
aeghn committed Nov 24, 2024
1 parent 6910d20 commit 3bdb708
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/restop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,31 @@ jobs:
steps:
- name: Show GLIBC
run: ldd --version
- name: Checkout sources
uses: actions/checkout@v2
with:
ref: ${{ github.event.inputs.sha || env.GITHUB_SHA }}

- name: get old node
run: |
yum -y install wget
touch "$HOME/.bashrc"
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
nvm install 14.21.3
- name: Set env on push
if: github.event_name == 'push'
run: |
echo "INPUT_SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV
echo "INPUT_TAG=$(git tag --points-at HEAD)" >> $GITHUB_ENV
- name: Set env on trigger
if: github.event_name == 'workflow_dispatch'
run: |
git clone https://github.com/aeghn/restop -b main
ls -lh
echo "INPUT_SHA=${{ github.event.inputs.sha }}" >> $GITHUB_ENV
echo "INPUT_TAG=${{ github.event.inputs.tag }}" >> $GITHUB_ENV
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
Expand Down

0 comments on commit 3bdb708

Please sign in to comment.