Skip to content

Commit 2e28203

Browse files
authored
[ci] Fix signing error in build test (#838)
1 parent e332ece commit 2e28203

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
sudo add-apt-repository ppa:deadsnakes/ppa
2828
sudo apt update
2929
sudo apt install -y libncurses5 python2.7 libpython2.7 gettext \
30-
libkf5itemmodels5 libkf5kiowidgets5 libkchart2
31-
curl https://download.tizen.org/sdk/Installer/tizen-studio_5.6/web-cli_Tizen_Studio_5.6_ubuntu-64.bin -o install.bin
30+
libkf5itemmodels5 libkf5kiowidgets5 libkchart2 dbus-x11 gnome-keyring
31+
curl https://download.tizen.org/sdk/Installer/tizen-studio_6.0/web-cli_Tizen_Studio_6.0_ubuntu-64.bin -o install.bin
3232
chmod a+x install.bin
3333
./install.bin --accept-license $HOME/tizen-studio
3434
rm install.bin
@@ -43,11 +43,14 @@ jobs:
4343
if: ${{ env.HAS_CHANGED_PACKAGES == 'true' }}
4444
run: |
4545
export PATH=$PATH:$HOME/tizen-studio/tools/ide/bin
46+
dbus-run-session -- bash -c "
47+
echo tizen | gnome-keyring-daemon --unlock &&
4648
tizen certificate -a tizen -p tizen -f tizen
4749
tizen security-profiles add \
4850
-n tizen \
4951
-a $HOME/tizen-studio-data/keystore/author/tizen.p12 \
5052
-p tizen
53+
"
5154
- name: Install flutter-tizen
5255
if: ${{ env.HAS_CHANGED_PACKAGES == 'true' }}
5356
uses: actions/checkout@v3
@@ -58,7 +61,10 @@ jobs:
5861
if: ${{ env.HAS_CHANGED_PACKAGES == 'true' }}
5962
run: |
6063
export PATH=`pwd`/flutter-tizen/bin:$PATH
64+
dbus-run-session -- bash -c "
65+
echo tizen | gnome-keyring-daemon --unlock &&
6166
./tools/tools_runner.sh build-examples \
6267
--exclude=wearable_rotary \
6368
--run-on-changed-packages \
6469
--base-sha=$(git rev-parse HEAD^)
70+
"

0 commit comments

Comments
 (0)