Skip to content

Commit

Permalink
Changed the name of the root directory in the release archive.
Browse files Browse the repository at this point in the history
Added libs/ to gitignore
  • Loading branch information
DmitriySalnikov committed Sep 11, 2024
1 parent b876d51 commit ab618fc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/util_upload_release_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:

env:
ADDON_FOLDER_NAME: godot_qoi
ADDON_ROOT_FOLDER_NAME: godot_qoi-${{needs.get_version.outputs.version}}
RELEASE_PREFIX_NAME: godot-qoi
DOWNLOAD_ARTIFACT_NAME: .gdextension_libs_production

Expand All @@ -56,7 +57,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
path: ${{env.ADDON_FOLDER_NAME}} # godot asset library by default skips root folder
path: ${{env.ADDON_ROOT_FOLDER_NAME}} # godot asset library by default skips root folder
sparse-checkout: |
addons
sparse-checkout-cone-mode: false
Expand All @@ -70,14 +71,14 @@ jobs:
name_is_regexp: false
search_artifacts: true
skip_unpack: false
path: ${{env.ADDON_FOLDER_NAME}}/addons/${{env.ADDON_FOLDER_NAME}}/libs
path: ${{env.ADDON_ROOT_FOLDER_NAME}}/addons/${{env.ADDON_FOLDER_NAME}}/libs
#event: workflow_dispatch

- name: Create ZIP archive
id: zip
run: |
zipname="${{env.RELEASE_PREFIX_NAME}}_${{needs.get_version.outputs.version}}.zip"
zip -r $zipname ${{env.ADDON_FOLDER_NAME}}/addons
zip -r $zipname ${{env.ADDON_ROOT_FOLDER_NAME}}/addons
echo "zipname=$zipname" >> $GITHUB_OUTPUT
- name: Upload Artifact
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ used_classes.json
.mono/
obj/
bin/
/libs/
libs/
testsuite/images/
testproject/addons/
testproject/testsuite/
Expand Down
2 changes: 1 addition & 1 deletion addons/godot_qoi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ To download, use the [Godot Asset Library](https://godotengine.org/asset-library

> [!NOTE]
>
> If you download manually, first go to the folder with the name of the addon in the archive, then copy its contents to your project.
> If you download the addon manually, first go to the folder at the root of the archive, and then copy its contents to your project.
## Editor integration

Expand Down
Empty file added addons/godot_qoi/libs/.gdignore
Empty file.

0 comments on commit ab618fc

Please sign in to comment.