Skip to content

Commit

Permalink
[ci] fix pathes while preparing assets
Browse files Browse the repository at this point in the history
  • Loading branch information
jkb0o committed Feb 26, 2021
1 parent 7bdd221 commit ac31270
Showing 1 changed file with 10 additions and 22 deletions.
32 changes: 10 additions & 22 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,8 @@ jobs:
uses: actions/cache@v2
with:
path: ${{github.workspace}}/.scons_cache/
key: ${{github.job}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}}
restore-keys: |
${{github.job}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}}
${{github.job}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}
${{github.job}}-${{env.GODOT_BASE_BRANCH}}
key: ${{github.job}}-${{env.GODOT_BASE_BRANCH}}

# Use python 3.x release (works cross platform; best to keep self contained in it's own step)
- name: Set up Python 3.x
uses: actions/setup-python@v2
Expand Down Expand Up @@ -97,11 +93,7 @@ jobs:
uses: actions/cache@v2
with:
path: ${{github.workspace}}/.scons_cache/
key: ${{github.job}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}}
restore-keys: |
${{github.job}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}}
${{github.job}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}
${{github.job}}-${{env.GODOT_BASE_BRANCH}}
key: ${{github.job}}-${{env.GODOT_BASE_BRANCH}}

# Use python 3.x release (works cross platform; best to keep self contained in it's own step)
- name: Set up Python 3.x
Expand Down Expand Up @@ -153,11 +145,7 @@ jobs:
uses: RevoluPowered/cache@v2.1
with:
path: /.scons_cache/
key: ${{github.job}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}}
restore-keys: |
${{github.job}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}}
${{github.job}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}
${{github.job}}-${{env.GODOT_BASE_BRANCH}}
key: ${{github.job}}-${{env.GODOT_BASE_BRANCH}}

# Use python 3.x release (works cross platform; best to keep self contained in it's own step)
- name: Set up Python 3.x
Expand Down Expand Up @@ -213,12 +201,12 @@ jobs:
run: find release
- name: Prepare assets
run: |
mv godot.x11.osx godot-flash
zip -r godot-flash.linux.zip godot-flash
mv godot.osx.tools godot-flash
zip -r godot-flash.osx.zip godot-flash
mv godow.windows.tools godot-flash.exe
zip -r godot-flash.windows.zip godot-flash.exe
mv release/godot.windows.opt.tools.64.exe release/godot-flash.exe
zip -r release/godot-flash.windows.zip release/godot-flash.exe
mv release/godot.x11.opt.tools.64 release/godot-flash
zip -r release/godot-flash.linux.zip release/godot-flash
mv release/godot.osx.opt.tools.64 release/godot-flash
zip -r release/godot-flash.osx.zip release/godot-flash
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand Down

0 comments on commit ac31270

Please sign in to comment.