Skip to content

Commit 5e1149c

Browse files
authored
refactor: rm test code (#4040)
1 parent 19df26b commit 5e1149c

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

.github/workflows/sdk.yml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -59,24 +59,10 @@ jobs:
5959
server-username: MAVEN_USERNAME
6060
server-password: MAVEN_TOKEN
6161
gpg-passphrase: GPG_PASSPHRASE # env variable for GPG private key passphrase
62-
- name: Verify secrets access
63-
run: |
64-
echo "List of available secrets:"
65-
echo "GPG_PRIVATE_KEY exists: ${{ secrets.GPG_PRIVATE_KEY != '' }}"
66-
echo "GPG_PASSPHRASE exists: ${{ secrets.GPG_PASSPHRASE != '' }}"
67-
- name: test gpg
68-
env:
69-
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
70-
run: |
71-
echo "GPG key length: ${#GPG_PRIVATE_KEY}"
72-
echo "First 10 lines:"
73-
echo "$GPG_PRIVATE_KEY" | head -n 10
74-
echo "Last 10 lines:"
75-
echo "$GPG_PRIVATE_KEY" | tail -n 10
7662

7763
- name: Import GPG key
7864
id: import_gpg
79-
#if: github.event_name == 'push'
65+
if: github.event_name == 'push'
8066
uses: crazy-max/ghaction-import-gpg@v4
8167
with:
8268
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
@@ -101,7 +87,7 @@ jobs:
10187
make build
10288
10389
- name: upload linux library
104-
#if: github.event_name == 'push'
90+
if: github.event_name == 'push'
10591
uses: actions/upload-artifact@v4
10692
with:
10793
name: shared-library-${{ github.sha }}
@@ -136,7 +122,7 @@ jobs:
136122
java/*/target/**/TEST-*.xml
137123
138124
- name: deploy
139-
#if: github.event_name == 'push'
125+
if: github.event_name == 'push'
140126
working-directory: java
141127
run: |
142128
./mvnw --batch-mode deploy -DskipTests=true -Dscalatest.skip=true

0 commit comments

Comments
 (0)