Skip to content

Commit 4b5ad25

Browse files
Test if release candidate SVN secrets are set correctly
For only the daffodil-vscode repo, testing the release candidate action fails with the error: Input required and not supplied: svn_username The same configuration works with other repots, and other secrets work correctly in this repo. To help debug this, temporarily add a new step to the release candidate action that determines if the svn secrets are set or not. This commit will be reverted once we determine if secret is missing or empty.
1 parent ca82be0 commit 4b5ad25

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/release-candidate.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,20 @@ jobs:
3737
- name: Checkout Repository
3838
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3939

40+
- name: Check if SVN secrets are set
41+
run: |
42+
if [ -z "${{ secrets.DAFFODIL_SVN_DEV_USERNAME }}" ]; then
43+
echo "DAFFODIL_SVN_DEV_USERNAME is not set"
44+
else
45+
echo "DAFFODIL_SVN_DEV_USERNAME is set"
46+
fi
47+
48+
if [ -z "${{ secrets.DAFFODIL_SVN_DEV_PASSWORD }}" ]; then
49+
echo "DAFFODIL_SVN_DEV_PASSWORD is not set"
50+
else
51+
echo "DAFFODIL_SVN_DEV_PASSWORD is set"
52+
fi
53+
4054
- name: ASF Release Candidate
4155
id: rc
4256
uses: apache/daffodil-infrastructure/actions/release-candidate@main

0 commit comments

Comments
 (0)