diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ad2e37f..d11af5c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,11 +16,6 @@ jobs: sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* - - name: Install Node.js (v12) - run: | - curl -sL https://rpm.nodesource.com/setup_12.x | bash - - yum install -y nodejs - - name: Install git run: | yum install -y git @@ -29,6 +24,16 @@ jobs: run: | git clone https://github.com/7mochi/llhl-agmod + - name: Checkout LLHL repository + run: | + git clone https://github.com/7mochi/llhl + git checkout ${{github.ref}} + + - name: Install Node.js (v12) + run: | + curl -sL https://rpm.nodesource.com/setup_12.x | bash - + yum install -y nodejs + - name: Build LLHL AGMOD serverfile .so run: | yum install -y make wget unzip tar gcc gcc-c++ glibc-devel.i686 libstdc++-devel.i686 @@ -40,10 +45,6 @@ jobs: cd $GITHUB_WORKSPACE cp -i llhl-agmod/dlls/ag_i386.so ag-llhl-linux/ag.so cp -i llhl-agmod/network/delta.lst ag-llhl-linux - - - name: Checkout LLHL repository - run: | - git clone https://github.com/7mochi/llhl - name: Install NodeJS uses: actions/setup-node@v3