diff --git a/.github/workflows/push_addon_to_asset_lib.yml b/.github/workflows/push_addon_to_asset_lib.yml index 381cd37..f937aa5 100644 --- a/.github/workflows/push_addon_to_asset_lib.yml +++ b/.github/workflows/push_addon_to_asset_lib.yml @@ -27,25 +27,25 @@ jobs: - name: set_plugin_version id: set_plugin_version run: | - VERSION=$(grep version addons/character-controller/plugin.cfg | cut -d "=" -f 2 | tr -d '"') - echo "PLUGIN_VERSION=${VERSION}" + VERSION=$(grep version= addons/character-controller/plugin.cfg | cut -d "=" -f 2 | tr -d '"') + echo "PLUGIN_VERSION=${VERSION}" >> $GITHUB_ENV - # - name: Godot Asset Lib - # # You may pin to the exact commit or the version. - # # uses: deep-entertainment/godot-asset-lib-action@81addbb4db62199a69e4aa5535741a8928d6abb6 - # uses: deep-entertainment/godot-asset-lib-action@v0.4.0 - # with: - # action: addEdit - # # Godot asset lib username - # username: expressobits - # # Godot asset lib password - # password: ${{ secrets.GODOT_ASSET_LIB_PASSWORD }} - # # ID of the asset in the asset store - # assetId: 1567 - # # Path to asset template file - # assetTemplate: .github/workflows/.asset-template-addon.json.hb - # # Godot asset lib base url - # baseUrl: https://godotengine.org/asset-library/api + - name: Godot Asset Lib + # You may pin to the exact commit or the version. + # uses: deep-entertainment/godot-asset-lib-action@81addbb4db62199a69e4aa5535741a8928d6abb6 + uses: deep-entertainment/godot-asset-lib-action@v0.4.0 + with: + action: addEdit + # Godot asset lib username + username: expressobits + # Godot asset lib password + password: ${{ secrets.GODOT_ASSET_LIB_PASSWORD }} + # ID of the asset in the asset store + assetId: 1567 + # Path to asset template file + assetTemplate: .github/workflows/.asset-template-addon.json.hb + # Godot asset lib base url + baseUrl: https://godotengine.org/asset-library/api - name: Debug Godot Asset Lib run: echo $PLUGIN_VERSION