diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 555f55e..9e55885 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -28,7 +28,7 @@ jobs: cp -a Assets/. Release/Samples~/Playground - name: Copy to package repo (main branch) - uses: cpina/github-action-push-to-another-repository@main + uses: tudddorrr/github-action-push-to-another-repository@main if: "!contains(github.event.head_commit.message, '--no-release') && !contains(github.event.head_commit.message, 'pre.')" env: API_TOKEN_GITHUB: ${{ secrets.PAT }} @@ -40,7 +40,7 @@ jobs: commit-message: ${{ env.COMMIT_MESSAGE }} - name: Copy to package repo (version branch) - uses: cpina/github-action-push-to-another-repository@main + uses: tudddorrr/github-action-push-to-another-repository@main env: API_TOKEN_GITHUB: ${{ secrets.PAT }} with: diff --git a/Packages/com.trytalo.talo/Runtime/BaseAPI.cs b/Packages/com.trytalo.talo/Runtime/BaseAPI.cs index 21ad368..cd95c2f 100644 --- a/Packages/com.trytalo.talo/Runtime/BaseAPI.cs +++ b/Packages/com.trytalo.talo/Runtime/BaseAPI.cs @@ -28,6 +28,8 @@ protected async Task Call(Uri uri, string method, string content = "") www.SetRequestHeader("Authorization", $"Bearer {manager.settings.accessKey}"); www.SetRequestHeader("Content-Type", "application/json"); www.SetRequestHeader("Accept", "application/json"); + www.SetRequestHeader("X-Talo-Dev-Build", Debug.isDebugBuild ? "1" : "0"); + www.SetRequestHeader("X-Talo-Include-Dev-Data", Debug.isDebugBuild ? "1" : "0"); var op = www.SendWebRequest(); diff --git a/Packages/com.trytalo.talo/package.json b/Packages/com.trytalo.talo/package.json index d8cf9f7..a787a93 100644 --- a/Packages/com.trytalo.talo/package.json +++ b/Packages/com.trytalo.talo/package.json @@ -1,6 +1,6 @@ { "name": "com.trytalo.talo", - "version": "0.6.0", + "version": "0.7.0", "displayName": "Talo Game Services", "description": "Talo (https://trytalo.com) is an open-source game backend with services designed to help you build games faster. You can currently:\n\n- Identify players\n- Store persistent data across players\n- Track events (levelling up, finding loot, etc)\n- Display high scores with leaderboards\n- Store and load player saves", "unity": "2019.1",