Skip to content

Commit 85b0205

Browse files
authored
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
1 parent 4672a7b commit 85b0205

File tree

2 files changed

+20
-10
lines changed

2 files changed

+20
-10
lines changed

.github/workflows/build.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ jobs:
2626
subdirectory: ${{ matrix.platform }}
2727
package: true
2828

29-
- name: 'Create Tar files'
30-
run: tar -cvf ${{ matrix.platform }}.tar ${{ github.workspace }}/${{ steps.build.outputs.build }}
29+
- name: Create Tar files
30+
run: tar -cvf ${{ matrix.platform }}.tgz ${{ github.workspace }}/${{ steps.build.outputs.build }}
3131

3232
- name: Upload Artifact to Build
3333
uses: actions/upload-artifact@v2
3434
with:
35-
name: ${{ matrix.platform }}.tar
36-
path: ${{ matrix.platform }}.tar
35+
name: ${{ matrix.platform }}.tgz
36+
path: ${{ matrix.platform }}.tgz
3737

3838
Release:
3939
runs-on: ubuntu-latest
@@ -76,14 +76,14 @@ jobs:
7676
id: downloaded-html-artifacts
7777
uses: actions/download-artifact@v2
7878
with:
79-
name: ChoukaBara-HTML5.tar
79+
name: ChoukaBara-HTML5.tgz
8080
path: ~/artifacts/html
8181

8282
- name: Download Windows Build Artifacts
8383
id: downloaded-windows-artifacts
8484
uses: actions/download-artifact@v2
8585
with:
86-
name: ChoukaBara-Windows.tar
86+
name: ChoukaBara-Windows.tgz
8787
path: ~/artifacts/windows
8888

8989
- name: Create Pre-Release
@@ -107,8 +107,8 @@ jobs:
107107
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
108108
with:
109109
upload_url: ${{ steps.create-release.outputs.upload_url }}
110-
asset_path: ${{ steps.downloaded-windows-artifacts.outputs.download-path }}/ChoukaBara-Windows.tar
111-
asset_name: chouka-bara-windows.tar
110+
asset_path: ${{ steps.downloaded-windows-artifacts.outputs.download-path }}/ChoukaBara-Windows.tgz
111+
asset_name: chouka-bara-windows.tgz
112112
asset_content_type: application/zip
113113

114114
- name: Upload Pre-Release HTML5 Asset
@@ -118,6 +118,6 @@ jobs:
118118
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
119119
with:
120120
upload_url: ${{ steps.create-release.outputs.upload_url }}
121-
asset_path: ${{ steps.downloaded-html-artifacts.outputs.download-path }}/ChoukaBara-HTML5.tar
122-
asset_name: chouka-bara-html.tar
121+
asset_path: ${{ steps.downloaded-html-artifacts.outputs.download-path }}/ChoukaBara-HTML5.tgz
122+
asset_name: chouka-bara-html.tgz
123123
asset_content_type: application/zip

.github/workflows/main.yml

+10
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
run: |
2727
mkdir -v -p ~/.local/share/godot/templates
2828
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
29+
sudo apt install zip unzip
2930
- name: Windows Build
3031
run: |
3132
mkdir -v -p build/windows/$EXPORT_NAME
@@ -35,6 +36,10 @@ jobs:
3536
echo $(pwd)
3637
3738
godot -v --export "ChoukaBara-Windows" ../build/windows/$EXPORT_NAME.exe
39+
40+
- name: Create Zip files
41+
run: zip -r windows.zip ./build/windows/
42+
3843
- name: Upload Artifact
3944
uses: actions/upload-artifact@v1
4045
with:
@@ -56,6 +61,7 @@ jobs:
5661
run: |
5762
mkdir -v -p ~/.local/share/godot/templates
5863
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
64+
sudo apt install zip unzip
5965
- name: Web Build
6066
run: |
6167
mkdir -v -p build/web/$EXPORT_NAME
@@ -65,6 +71,10 @@ jobs:
6571
echo $(pwd)
6672
6773
godot -v --export "ChoukaBara-HTML5" ../build/web/index.html
74+
75+
- name: Create Zip files
76+
run: zip -r web.zip ./build/web/
77+
6878
- name: Upload Artifact
6979
uses: actions/upload-artifact@v1
7080
with:

0 commit comments

Comments
 (0)