Skip to content

Commit

Permalink
changed tar's to zip file (#32)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
mohithsrao authored Dec 26, 2020
1 parent 4672a7b commit 85b0205
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 85b0205

Please sign in to comment.