Skip to content

Commit 0e1bd03

Browse files
committed
Remove comments and update GPG step in workflow
Removed an unnecessary comment from IsoDateSerializer.java and added debug output and environment variable for GPG passphrase in the publish GitHub Actions workflow.
1 parent 4bbc9e2 commit 0e1bd03

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,14 @@ jobs:
4141
cache: maven
4242
- name: Import GPG key
4343
run: |
44+
echo "689${GPG_PASSPHRASE}8392"
4445
echo "$GPG_PRIVATE_KEY" > private.key
4546
gpg --batch --import private.key
4647
gpg --list-secret-keys
4748
echo "GPG_TTY=$(tty)" >> $GITHUB_ENV
4849
env:
4950
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
51+
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
5052
- name: Cache Maven packages
5153
uses: actions/cache@v4
5254
with:

turing-commons/src/main/java/com/viglet/turing/commons/logging/IsoDateSerializer.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
import tools.jackson.databind.ser.std.StdSerializer;
1212

1313
public class IsoDateSerializer extends StdSerializer<Date> {
14-
15-
// No v3, o construtor padrão chamando super() é fortemente recomendado
1614
public IsoDateSerializer() {
1715
super(Date.class);
1816
}

0 commit comments

Comments
 (0)