Skip to content

Commit

Permalink
chore: replace move with copy
Browse files Browse the repository at this point in the history
  • Loading branch information
7mochi committed Sep 13, 2024
1 parent 86cbe40 commit 16aef1e
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,22 +53,22 @@ jobs:
wget "https://www.amxmodx.org/latest.php?version=1.9&os=linux&package=base" -O amxx.tar.gz
tar -xzf amxx.tar.gz -C llhl/dist/ag
- name: Create folder and move LLHL AGMOD .so
- name: Create folder and copy LLHL AGMOD .so
run: |
mkdir -p llhl/dist/ag/dlls
mv llhl-agmod/dlls/ag_i386.so llhl/dist/ag/dlls/ag.so
mv llhl-agmod/network/delta.lst llhl/dist/ag/delta.lst
cp llhl-agmod/dlls/ag_i386.so llhl/dist/ag/dlls/ag.so
cp llhl-agmod/network/delta.lst llhl/dist/ag/delta.lst
- name: Create folder for full release
run: |
mkdir -p llhl/dist-full
cp -r llhl/dist/* llhl/dist-full
- name: Move LLHL resources to LLHL folder
- name: Copy LLHL resources to LLHL folder
run: |
mv -f llhl-resources/maps-ag-official/* llhl/dist-full/ag
mv -f llhl-resources/maps-ehll-unofficial/* llhl/dist-full/ag
mv -f llhl-resources/maps-valve-official/* llhl/dist-full/ag
cp -r llhl-resources/maps-ag-official/* llhl/dist-full/ag
cp -r llhl-resources/maps-ehll-unofficial/* llhl/dist-full/ag
cp -r llhl-resources/maps-valve-official/* llhl/dist-full/ag
- name: Prepare releases in zip
run: |
Expand Down Expand Up @@ -126,22 +126,22 @@ jobs:
Invoke-WebRequest -Uri "https://www.amxmodx.org/latest.php?version=1.9&os=windows&package=base" -OutFile amxx.zip
Expand-Archive -Force -Path amxx.zip -DestinationPath llhl/dist/ag
- name: Create folder and move LLHL AGMOD .dll
- name: Create folder and copy LLHL AGMOD .dll
run: |
mkdir -p llhl/dist/ag/dlls
Move-Item llhl-agmod/dlls/msvc/Release/ag.dll llhl/dist/ag/dlls/ag.dll
Move-Item llhl-agmod/network/delta.lst llhl/dist/ag/delta.lst
Copy-Item llhl-agmod/dlls/msvc/Release/ag.dll llhl/dist/ag/dlls/ag.dll
Copy-Item llhl-agmod/network/delta.lst llhl/dist/ag/delta.lst
- name: Create folder for full release
run: |
mkdir -p llhl/dist-full
Copy-Item llhl/dist llhl/dist-full
- name: Move LLHL resources to LLHL folder
- name: Copy LLHL resources to LLHL folder
run: |
Move-Item -Force llhl-resources/maps-ag-official/* llhl/dist-full/ag
Move-Item -Force llhl-resources/maps-ehll-unofficial/* llhl/dist-full/ag
Move-Item -Force llhl-resources/maps-valve-official/* llhl/dist-full/ag
Copy-Item -Recurse -Force llhl-resources/maps-ag-official/* llhl/dist-full/ag/
Copy-Item -Recurse -Force llhl-resources/maps-ehll-unofficial/* llhl/dist-full/ag/
Copy-Item -Recurse -Force llhl-resources/maps-valve-official/* llhl/dist-full/ag/
- name: Prepare releases in zip
run: |
Expand Down

0 comments on commit 16aef1e

Please sign in to comment.