Skip to content

Commit 5497baf

Browse files
DolphinChipssukibaby
authored andcommitted
Upload AV as an artifact
1 parent 305ef53 commit 5497baf

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.github/workflows/windows.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
unzip oggenc.zip -d .
2929
- name: Build AV
3030
run: msbuild build\VisualStudio\ArrowVortex.vcxproj /p:Configuration=Release /p:Platform=x64
31-
- name: Collect into a zip
31+
- name: Collect into a directory
3232
run: |
3333
mkdir AV
3434
cd AV
@@ -37,12 +37,9 @@ jobs:
3737
cp -r ../bin/settings .
3838
cp ../bin/ArrowVortex.exe .
3939
cp ../oggenc2.exe .
40-
cd ..
41-
7z.exe a -tzip av.zip AV
42-
- name: Upload to Delta VPS
43-
run: |
44-
mkdir -p ~/.ssh
45-
echo "${{ secrets.DROPLET_SSH }}" > ~/.ssh/arrow_vortex
46-
chmod 400 ~/.ssh/arrow_vortex
47-
echo "arrowvortex@167.71.33.176:~/av/ArrowVortex-$(date +'%Y-%m-%d %H-%M-%S').zip" > DROPLET_PATH
48-
scp -o StrictHostKeyChecking=no -o PasswordAuthentication=no -i ~/.ssh/arrow_vortex av.zip $(cat DROPLET_PATH)
40+
- name: Upload artifact
41+
uses: actions/upload-artifact@v4
42+
with:
43+
name: AV
44+
path: main/AV/
45+
if-no-files-found: error

0 commit comments

Comments
 (0)