Skip to content

Commit

Permalink
Remove .. from paths
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Alpha committed Oct 22, 2023
1 parent 2cf1352 commit 3641f7f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,103 +20,103 @@ jobs:
run: C:\msys64\msys2_shell.cmd -defterm -here -no-start -mingw64 -shell bash setup.sh

- name: Package for Unreal Engine 4.24
run: python package.py "$env:UE_4_24" ..
run: python package.py "$env:UE_4_24" "$env:RUNNER_TEMP"

- name: Package for Unreal Engine 4.25
run: python package.py "$env:UE_4_25" ..
run: python package.py "$env:UE_4_25" "$env:RUNNER_TEMP"

- name: Package for Unreal Engine 4.26
run: python package.py "$env:UE_4_26" ..
run: python package.py "$env:UE_4_26" "$env:RUNNER_TEMP"

- name: Package for Unreal Engine 4.27
run: python package.py "$env:UE_4_27" ..
run: python package.py "$env:UE_4_27" "$env:RUNNER_TEMP"

- name: Package for Unreal Engine 5.0
run: python package.py "$env:UE_5_0" ..
run: python package.py "$env:UE_5_0" "$env:RUNNER_TEMP"

- name: Package for Unreal Engine 5.1
run: python package.py "$env:UE_5_1" ..
run: python package.py "$env:UE_5_1" "$env:RUNNER_TEMP"

- name: Package for Unreal Engine 5.2
run: python package.py "$env:UE_5_2" ..
run: python package.py "$env:UE_5_2" "$env:RUNNER_TEMP"

- name: Package for Unreal Engine 5.3
run: python package.py "$env:UE_5_3" ..
run: python package.py "$env:UE_5_3" "$env:RUNNER_TEMP"

- name: Upload Build-Artifact 4.24
if: startsWith(github.ref, 'refs/heads/') # Upload artifacts when commits (not tags) are pushed
uses: actions/[email protected]
with:
name: UnrealLibretro-4.24
path: ../UnrealLibretro-4.24
path: ${{ runner.temp }}/UnrealLibretro-4.24
if-no-files-found: error

- name: Upload Build-Artifact 4.25
if: startsWith(github.ref, 'refs/heads/')
uses: actions/[email protected]
with:
name: UnrealLibretro-4.25
path: ../UnrealLibretro-4.25
path: ${{ runner.temp }}/UnrealLibretro-4.25
if-no-files-found: error

- name: Upload Build-Artifact 4.26
if: startsWith(github.ref, 'refs/heads/')
uses: actions/[email protected]
with:
name: UnrealLibretro-4.26
path: ../UnrealLibretro-4.26
path: ${{ runner.temp }}/UnrealLibretro-4.26
if-no-files-found: error

- name: Upload Build-Artifact 4.27
if: startsWith(github.ref, 'refs/heads/')
uses: actions/[email protected]
with:
name: UnrealLibretro-4.27
path: ../UnrealLibretro-4.27
path: ${{ runner.temp }}/UnrealLibretro-4.27
if-no-files-found: error

- name: Upload Build-Artifact 5.0
if: startsWith(github.ref, 'refs/heads/')
uses: actions/[email protected]
with:
name: UnrealLibretro-5.0
path: ../UnrealLibretro-5.0
path: ${{ runner.temp }}/UnrealLibretro-5.0
if-no-files-found: error

- name: Upload Build-Artifact 5.1
if: startsWith(github.ref, 'refs/heads/')
uses: actions/[email protected]
with:
name: UnrealLibretro-5.1
path: ../UnrealLibretro-5.1
path: ${{ runner.temp }}/UnrealLibretro-5.1
if-no-files-found: error

- name: Upload Build-Artifact 5.2
if: startsWith(github.ref, 'refs/heads/')
uses: actions/[email protected]
with:
name: UnrealLibretro-5.2
path: ../UnrealLibretro-5.2
path: ${{ runner.temp }}/UnrealLibretro-5.2
if-no-files-found: error

- name: Upload Build-Artifact 5.3
if: startsWith(github.ref, 'refs/heads/')
uses: actions/[email protected]
with:
name: UnrealLibretro-5.3
path: ../UnrealLibretro-5.3
path: ${{ runner.temp }}/UnrealLibretro-5.3
if-no-files-found: error

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/') # Only release when a tag is pushed
with:
files: |
../UnrealLibretro-4.24.zip
../UnrealLibretro-4.25.zip
../UnrealLibretro-4.26.zip
../UnrealLibretro-4.27.zip
../UnrealLibretro-5.0.zip
../UnrealLibretro-5.1.zip
../UnrealLibretro-5.2.zip
../UnrealLibretro-5.3.zip
${{ runner.temp }}/UnrealLibretro-4.24.zip
${{ runner.temp }}/UnrealLibretro-4.25.zip
${{ runner.temp }}/UnrealLibretro-4.26.zip
${{ runner.temp }}/UnrealLibretro-4.27.zip
${{ runner.temp }}/UnrealLibretro-5.0.zip
${{ runner.temp }}/UnrealLibretro-5.1.zip
${{ runner.temp }}/UnrealLibretro-5.2.zip
${{ runner.temp }}/UnrealLibretro-5.3.zip
2 changes: 1 addition & 1 deletion package.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ def unix_touch(path):
unix_touch(f'{package_path}/UnrealLibretro-{major}.{minor}/UnrealLibretro/MyROMs/Place Your ROMs in this Directory')
unix_touch(f'{package_path}/UnrealLibretro-{major}.{minor}/UnrealLibretro/MyCores/Place Your Libretro Cores in this Directory')

os.system(f'tar -acf UnrealLibretro-{major}.{minor}.zip -C {package_path}/UnrealLibretro-{major}.{minor} UnrealLibretro')
os.system(f'tar -acf {package_path}/UnrealLibretro-{major}.{minor}.zip -C {package_path}/UnrealLibretro-{major}.{minor} UnrealLibretro')

0 comments on commit 3641f7f

Please sign in to comment.