Skip to content

Commit a28d253

Browse files
Merge pull request #1 from avadev/25.6.0
25.6.0
2 parents 94a63d3 + f922071 commit a28d253

File tree

270 files changed

+37026
-4809
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

270 files changed

+37026
-4809
lines changed

.github/workflows/python-publish.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,25 @@ jobs:
1414
uses: actions/setup-python@v2
1515
with:
1616
python-version: "3.x"
17-
- name: Retrieve bearer token
18-
id: get_bearer_token
17+
18+
- name: Retrieve bearer token for EInvoicing
19+
id: get_bearer_token_einvoicing
1920
run: |
2021
response=$(curl -X POST ${{secrets.OKTA_ACCESS_TOKEN_URL}}/connect/token \
2122
-H "Content-Type: application/x-www-form-urlencoded" \
2223
-d "grant_type=client_credentials&client_id=${{secrets.OKTA_CLIENT_ID}}&client_secret=${{secrets.OKTA_CLIENT_SECRET}}")
2324
token=$(echo $response | jq -r '.access_token')
24-
echo "BEARER_TOKEN=${token}" >> $GITHUB_ENV
25+
echo "BEARER_TOKEN_EINVOICING=${token}" >> $GITHUB_ENV
26+
27+
- name: Retrieve bearer token for A1099
28+
id: get_bearer_token_a1099
29+
run: |
30+
response=$(curl -X POST ${{secrets.AI_SBX_URL}}/connect/token \
31+
-H "Content-Type: application/x-www-form-urlencoded" \
32+
-d "grant_type=client_credentials&client_id=${{secrets.AI_CLIENT_ID_A1099}}&client_secret=${{secrets.AI_CLIENT_SECRET_A1099}}")
33+
token=$(echo $response | jq -r '.access_token')
34+
echo "BEARER_TOKEN_A1099=${token}" >> $GITHUB_ENV
35+
2536
- name: Install dependencies
2637
run: |
2738
python -m pip install --upgrade pip

.github/workflows/test.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,25 @@ jobs:
2222
pip install build
2323
pip install -r ./requirements.txt
2424
pip install -r ./test-requirements.txt
25-
- name: Retrieve bearer token
26-
id: get_bearer_token
25+
26+
- name: Retrieve bearer token for EInvoicing
27+
id: get_bearer_token_einvoicing
2728
run: |
2829
response=$(curl -X POST ${{secrets.OKTA_ACCESS_TOKEN_URL}}/connect/token \
2930
-H "Content-Type: application/x-www-form-urlencoded" \
3031
-d "grant_type=client_credentials&client_id=${{secrets.OKTA_CLIENT_ID}}&client_secret=${{secrets.OKTA_CLIENT_SECRET}}")
3132
token=$(echo $response | jq -r '.access_token')
32-
echo "BEARER_TOKEN=${token}" >> $GITHUB_ENV
33+
echo "BEARER_TOKEN_EINVOICING=${token}" >> $GITHUB_ENV
34+
35+
- name: Retrieve bearer token for A1099
36+
id: get_bearer_token_a1099
37+
run: |
38+
response=$(curl -X POST ${{secrets.AI_SBX_URL}}/connect/token \
39+
-H "Content-Type: application/x-www-form-urlencoded" \
40+
-d "grant_type=client_credentials&client_id=${{secrets.AI_CLIENT_ID_A1099}}&client_secret=${{secrets.AI_CLIENT_SECRET_A1099}}")
41+
token=$(echo $response | jq -r '.access_token')
42+
echo "BEARER_TOKEN_A1099=${token}" >> $GITHUB_ENV
43+
3344
- name: Build package
3445
run: python -m build
3546
- name: Pip Package

0 commit comments

Comments
 (0)