Skip to content

Commit

Permalink
Rename nightly build assets so the regular ROM is sorted first
Browse files Browse the repository at this point in the history
  • Loading branch information
Rangi42 committed May 19, 2021
1 parent 4b97435 commit b763c85
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@ jobs:
mv polishedcrystal-3.0.0-beta.sym build/polishedcrystal-3.0.0-beta.sym
make tidy
make -j4 faithful
mv polishedcrystal-3.0.0-beta.gbc build/polishedcrystal-3.0.0-beta-faithful.gbc
mv polishedcrystal-3.0.0-beta.sym build/polishedcrystal-3.0.0-beta-faithful.sym
mv polishedcrystal-3.0.0-beta.gbc build/polishedcrystal-faithful-3.0.0-beta.gbc
mv polishedcrystal-3.0.0-beta.sym build/polishedcrystal-faithful-3.0.0-beta.sym
make tidy
make -j4 debug
mv polishedcrystal-3.0.0-beta.gbc build/polisheddebug-3.0.0-beta.gbc
mv polishedcrystal-3.0.0-beta.sym build/polisheddebug-3.0.0-beta.sym
make tidy
make -j4 faithful debug
mv polishedcrystal-3.0.0-beta.gbc build/polisheddebug-3.0.0-beta-faithful.gbc
mv polishedcrystal-3.0.0-beta.sym build/polisheddebug-3.0.0-beta-faithful.sym
mv polishedcrystal-3.0.0-beta.gbc build/polisheddebug-faithful-3.0.0-beta.gbc
mv polishedcrystal-3.0.0-beta.sym build/polisheddebug-faithful-3.0.0-beta.sym
make tidy
make bsp
mv polishedcrystal-3.0.0-beta.bsp build/polishedcrystal-3.0.0-beta.bsp
mv polishedcrystal-3.0.0-beta.bsp build/polishedcrystal-savepatch-3.0.0-beta.bsp
popd
- name: Delete old release
id: delete_release
Expand Down Expand Up @@ -104,8 +104,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./polishedcrystal/build/polishedcrystal-3.0.0-beta-faithful.gbc
asset_name: polishedcrystal-3.0.0-beta-${{ env.SHORT_SHA }}-faithful.gbc
asset_path: ./polishedcrystal/build/polishedcrystal-faithful-3.0.0-beta.gbc
asset_name: polishedcrystal-faithful-3.0.0-beta-${{ env.SHORT_SHA }}.gbc
asset_content_type: application/octet-stream
- name: Upload faithful SYM
id: upload-faithful-sym
Expand All @@ -114,8 +114,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./polishedcrystal/build/polishedcrystal-3.0.0-beta-faithful.sym
asset_name: polishedcrystal-3.0.0-beta-${{ env.SHORT_SHA }}-faithful.sym
asset_path: ./polishedcrystal/build/polishedcrystal-faithful-3.0.0-beta.sym
asset_name: polishedcrystal-faithful-3.0.0-beta-${{ env.SHORT_SHA }}.sym
asset_content_type: text/plain
- name: Upload debug ROM
id: upload-debug
Expand Down Expand Up @@ -144,8 +144,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./polishedcrystal/build/polisheddebug-3.0.0-beta-faithful.gbc
asset_name: polisheddebug-3.0.0-beta-${{ env.SHORT_SHA }}-faithful.gbc
asset_path: ./polishedcrystal/build/polisheddebug-faithful-3.0.0-beta.gbc
asset_name: polisheddebug-faithful-3.0.0-beta-${{ env.SHORT_SHA }}.gbc
asset_content_type: application/octet-stream
- name: Upload faithful debug SYM
id: upload-faithful-debug-sym
Expand All @@ -154,8 +154,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./polishedcrystal/build/polisheddebug-3.0.0-beta-faithful.sym
asset_name: polisheddebug-3.0.0-beta-${{ env.SHORT_SHA }}-faithful.sym
asset_path: ./polishedcrystal/build/polisheddebug-faithful-3.0.0-beta.sym
asset_name: polisheddebug-faithful-3.0.0-beta-${{ env.SHORT_SHA }}.sym
asset_content_type: text/plain
- name: Upload BSP
id: upload-bsp
Expand All @@ -164,6 +164,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./polishedcrystal/build/polishedcrystal-3.0.0-beta.bsp
asset_name: polishedcrystal-3.0.0-beta-${{ env.SHORT_SHA }}.bsp
asset_path: ./polishedcrystal/build/polishedcrystal-savepatch-3.0.0-beta.bsp
asset_name: polishedcrystal-savepatch-3.0.0-beta-${{ env.SHORT_SHA }}.bsp
asset_content_type: application/octet-stream

0 comments on commit b763c85

Please sign in to comment.