这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
b535637
Revert "automated duplicating imported samples modifications (#595)"
robGG1997 Sep 14, 2023
95fb832
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 14, 2023
e3ab3c2
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 14, 2023
a536df0
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 15, 2023
c12a0de
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 18, 2023
8e1ea0a
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 18, 2023
1318cd7
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 21, 2023
33b8e52
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 22, 2023
0a205bd
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 25, 2023
df4795a
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 29, 2023
abc34f6
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 29, 2023
031e8d3
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Oct 18, 2023
3a4bdd9
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Oct 24, 2023
67d871d
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Oct 25, 2023
3c1d099
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Oct 30, 2023
ed22cb7
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Oct 31, 2023
4c8b282
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 1, 2023
ea609de
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 2, 2023
adcb974
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 2, 2023
77dd93a
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 3, 2023
12af139
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 7, 2023
3080de3
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 8, 2023
87a1dcc
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 8, 2023
f25d202
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 9, 2023
300d906
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 14, 2023
f28d9f4
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 16, 2023
ab26fa3
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 17, 2023
c5c0cb4
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 17, 2023
a1671d7
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 20, 2023
a4755d1
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 21, 2023
6ca4ea7
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 21, 2023
07cee0a
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 22, 2023
f2bb351
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 23, 2023
b064568
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 23, 2023
02606c0
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 23, 2023
6644661
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 27, 2023
93e8fbe
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Dec 6, 2023
5881543
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Dec 7, 2023
a2cdc0e
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Dec 11, 2023
9765f8d
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Dec 11, 2023
fc7269a
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Dec 12, 2023
0fe7628
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Dec 12, 2023
bba537e
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Dec 13, 2023
9930e97
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Dec 13, 2023
1f1d439
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Dec 14, 2023
da2418a
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Dec 15, 2023
8a5be99
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Jan 18, 2024
cea3e2b
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Jan 18, 2024
718bf99
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Jan 29, 2024
89f11bf
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Jan 30, 2024
916dca1
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Feb 1, 2024
a9a20bc
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Feb 7, 2024
cd514db
made main package testable, revert due to a mistake
robGG1997 Feb 7, 2024
3428344
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Feb 8, 2024
d2e7533
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Feb 8, 2024
7acb12d
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Mar 11, 2024
b6337a6
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Apr 1, 2024
c386de9
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Apr 2, 2024
90a9db1
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
rob1997 May 8, 2024
a546f27
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
rob1997 May 29, 2024
a03ca3a
moved duplicate samples from vars to txt
rob1997 May 29, 2024
17e371b
ci test
rob1997 May 29, 2024
b2c59c2
possible fix
rob1997 May 29, 2024
eead4bf
possible fix 2
rob1997 May 29, 2024
9dd8509
added a debug echo
rob1997 May 29, 2024
6573a5e
fix 3
rob1997 May 29, 2024
ed0584d
fix 4
rob1997 May 29, 2024
ae07aa2
fix 5
rob1997 May 29, 2024
f16c745
fix 6
rob1997 May 29, 2024
1645154
fix 7
rob1997 May 29, 2024
1ea1e46
fix 8
rob1997 May 29, 2024
dd3ce82
fix 9
rob1997 May 29, 2024
7778ee5
fix 10
rob1997 May 29, 2024
73749af
fix 11
rob1997 May 29, 2024
ada204f
fix 12
rob1997 May 29, 2024
f4fb505
made publish dependencies check line by line
rob1997 May 29, 2024
0978d65
new line fix
rob1997 May 29, 2024
af1a8a4
revert test changes
rob1997 May 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 7 additions & 13 deletions .github/workflows/check_and_commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,23 @@ jobs:
export DESTINATION_DIRECTORY=
export DESTINATION_PATH=

export DUPLICATE_SAMPLE_VARS=${{ vars.DUPLICATE_SAMPLE_VARS }}

for entry in "${DUPLICATE_SAMPLE_VARS[@]}"
while IFS= read -r entry || [ -n "$entry" ];
do

IFS=':' read -ra dirs <<< "$entry"
SOURCE_PATH=${dirs[0]}
DESTINATION_DIRECTORY=${dirs[1]}

SOURCE_PATH="${GITHUB_WORKSPACE}/$SOURCE_PATH/$(ls "$SOURCE_PATH" | head -n 1)/$DESTINATION_DIRECTORY"

DESTINATION_PATH="${GITHUB_WORKSPACE}/${dirs[2]}"

rm -rf "$DESTINATION_PATH"
mkdir -p "$DESTINATION_PATH"
cp -r "$SOURCE_PATH/." "$DESTINATION_PATH"

git add "$DESTINATION_PATH." -f
done
done < "${GITHUB_WORKSPACE}/scripts/data/duplicate_samples.txt"
- name: update submodules
# clone submodules
run: |
Expand All @@ -68,14 +67,9 @@ jobs:

echo -e "DLLs Generated\n$(ls "$PUBLISH_PATH")"

export PACKAGE_DEPENDENCIES=($(<${GITHUB_WORKSPACE}/scripts/data/published_dependencies.txt))

PACKAGE_DEPENDENCIES="${PACKAGE_DEPENDENCIES//$'\n'/ }"
PACKAGE_DEPENDENCIES="${PACKAGE_DEPENDENCIES//$'\r'/}"

export DLL_META_FILE_TEMPLATE="${{ vars.DLL_META_FILE_TEMPLATE }}"

for entry in "${PACKAGE_DEPENDENCIES[@]}"
while IFS= read -r entry || [ -n "$entry" ];
do
IFS=':' read -ra dirs <<< "$entry"
export PACKAGE_LIB_PATH="${GITHUB_WORKSPACE}/${dirs[0]}"
Expand All @@ -97,7 +91,7 @@ jobs:
done

git add "$PACKAGE_LIB_PATH." -f
done
done < "${GITHUB_WORKSPACE}/scripts/data/published_dependencies.txt"
- uses: actions/cache@v2
with:
path: ${{ matrix.projectPath }}/Library
Expand Down
4 changes: 4 additions & 0 deletions scripts/data/duplicate_samples.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
src/UnitySampleProject/Assets/Samples/web3.unity SDK:Web3.Unity Samples:Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/
src/UnitySampleProject/Assets/Samples/web3.unity SDK Web3Auth:Web3.Unity Web3Auth Samples:Packages/io.chainsafe.web3-unity.web3auth/Samples~/Web3.Unity Web3Auth/
src/UnitySampleProject/Assets/Samples/web3.unity SDK Lootboxes:Chainlink Lootbox Sample:Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/
src/UnitySampleProject/Assets/Samples/web3.unity SDK Ramp:Web3.Unity Ramp Samples:Packages/io.chainsafe.web3-unity.ramp/Samples~/Web3.Unity Ramp Samples/