From 85b0205e30c8697f05de300f8245d640e6750914 Mon Sep 17 00:00:00 2001 From: mohithsrao Date: Sat, 26 Dec 2020 23:40:16 +0530 Subject: [PATCH] changed tar's to zip file (#32) * Made Pawns visible while selecting The pawns were geting hidden behind other sprites previousely. I have updated the z-index of all the pawns belonging to the selcted player so that they are drawn above other sprites during selection of pawn for movement. After the movement is complete the z-index is reset back to 0 so that teh next player pawns can be drawn in front * Update main.yml * Corrected Syntax * Corrected syntax * Used default build task * Updated directory for build task * Updated build and added release task * Updated build actions * Cahnged release notes generation * formated the tag as required * made formating into saparate step * corrected run task * Updated set variable for output * corrected variable * Added params for getting additional change logs * Corrected syntax * Included html files to build * saparated build and release jobs * Corrected artifacts for release * Updated release artifacts paths * corrected yml syntax * corrected artifact name * Added zip files * removed extra path folder * changed the artifacts to tar's instead of direct files * corrected path for upload * corrected tar path * corrected tar path * removed unnecessary path for tar file * corrected artifact name while uploading. * asset path correction * Updated main release with updated changes * Updated Build path * Updated path for build * updated export preset names * changed base directory * Removed change directory * fixed syntax * changed ped location * changed tar's to zip files * Corrected task name to zip --- .github/workflows/build.yml | 20 ++++++++++---------- .github/workflows/main.yml | 10 ++++++++++ 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c2046d9..693eaeb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,14 +26,14 @@ jobs: subdirectory: ${{ matrix.platform }} package: true - - name: 'Create Tar files' - run: tar -cvf ${{ matrix.platform }}.tar ${{ github.workspace }}/${{ steps.build.outputs.build }} + - name: Create Tar files + run: tar -cvf ${{ matrix.platform }}.tgz ${{ github.workspace }}/${{ steps.build.outputs.build }} - name: Upload Artifact to Build uses: actions/upload-artifact@v2 with: - name: ${{ matrix.platform }}.tar - path: ${{ matrix.platform }}.tar + name: ${{ matrix.platform }}.tgz + path: ${{ matrix.platform }}.tgz Release: runs-on: ubuntu-latest @@ -76,14 +76,14 @@ jobs: id: downloaded-html-artifacts uses: actions/download-artifact@v2 with: - name: ChoukaBara-HTML5.tar + name: ChoukaBara-HTML5.tgz path: ~/artifacts/html - name: Download Windows Build Artifacts id: downloaded-windows-artifacts uses: actions/download-artifact@v2 with: - name: ChoukaBara-Windows.tar + name: ChoukaBara-Windows.tgz path: ~/artifacts/windows - name: Create Pre-Release @@ -107,8 +107,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create-release.outputs.upload_url }} - asset_path: ${{ steps.downloaded-windows-artifacts.outputs.download-path }}/ChoukaBara-Windows.tar - asset_name: chouka-bara-windows.tar + asset_path: ${{ steps.downloaded-windows-artifacts.outputs.download-path }}/ChoukaBara-Windows.tgz + asset_name: chouka-bara-windows.tgz asset_content_type: application/zip - name: Upload Pre-Release HTML5 Asset @@ -118,6 +118,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create-release.outputs.upload_url }} - asset_path: ${{ steps.downloaded-html-artifacts.outputs.download-path }}/ChoukaBara-HTML5.tar - asset_name: chouka-bara-html.tar + asset_path: ${{ steps.downloaded-html-artifacts.outputs.download-path }}/ChoukaBara-HTML5.tgz + asset_name: chouka-bara-html.tgz asset_content_type: application/zip \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4d06721..f9784be 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,6 +26,7 @@ jobs: run: | mkdir -v -p ~/.local/share/godot/templates mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable + sudo apt install zip unzip - name: Windows Build run: | mkdir -v -p build/windows/$EXPORT_NAME @@ -35,6 +36,10 @@ jobs: echo $(pwd) godot -v --export "ChoukaBara-Windows" ../build/windows/$EXPORT_NAME.exe + + - name: Create Zip files + run: zip -r windows.zip ./build/windows/ + - name: Upload Artifact uses: actions/upload-artifact@v1 with: @@ -56,6 +61,7 @@ jobs: run: | mkdir -v -p ~/.local/share/godot/templates mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable + sudo apt install zip unzip - name: Web Build run: | mkdir -v -p build/web/$EXPORT_NAME @@ -65,6 +71,10 @@ jobs: echo $(pwd) godot -v --export "ChoukaBara-HTML5" ../build/web/index.html + + - name: Create Zip files + run: zip -r web.zip ./build/web/ + - name: Upload Artifact uses: actions/upload-artifact@v1 with: