Skip to content

Commit

Permalink
test(action): fix replacement in run-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
achmadhadikurnia committed Jul 4, 2024
1 parent f743cc1 commit 7778b48
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,71 +62,71 @@ jobs:
with:
include: 'phpunit.xml'
find: '{{SIASN_MODE}}'
replace: ${{ secrets.SIASN_MODE }}
replace: '${{ secrets.SIASN_MODE }}'
regex: false

- name: Replace SIASN_APIM_USERNAME in phpunit.xml
uses: jacobtomlinson/gha-find-replace@v3
with:
include: 'phpunit.xml'
find: '{{SIASN_APIM_USERNAME}}'
replace: ${{ secrets.SIASN_APIM_USERNAME }}
replace: '${{ secrets.SIASN_APIM_USERNAME }}'
regex: false

- name: Replace SIASN_APIM_PASSWORD in phpunit.xml
uses: jacobtomlinson/gha-find-replace@v3
with:
include: 'phpunit.xml'
find: '{{SIASN_APIM_PASSWORD}}'
replace: ${{ secrets.SIASN_APIM_PASSWORD }}
replace: '${{ secrets.SIASN_APIM_PASSWORD }}'
regex: false

- name: Replace SIASN_SSO_CLIENT_ID in phpunit.xml
uses: jacobtomlinson/gha-find-replace@v3
with:
include: 'phpunit.xml'
find: '{{SIASN_SSO_CLIENT_ID}}'
replace: ${{ secrets.SIASN_SSO_CLIENT_ID }}
replace: '${{ secrets.SIASN_SSO_CLIENT_ID }}'
regex: false

- name: Replace SIASN_SSO_USERNAME in phpunit.xml
uses: jacobtomlinson/gha-find-replace@v3
with:
include: 'phpunit.xml'
find: '{{SIASN_SSO_USERNAME}}'
replace: ${{ secrets.SIASN_SSO_USERNAME }}
replace: '${{ secrets.SIASN_SSO_USERNAME }}'
regex: false

- name: Replace SIASN_SSO_PASSWORD in phpunit.xml
uses: jacobtomlinson/gha-find-replace@v3
with:
include: 'phpunit.xml'
find: '{{SIASN_SSO_PASSWORD}}'
replace: ${{ secrets.SIASN_SSO_PASSWORD }}
replace: '${{ secrets.SIASN_SSO_PASSWORD }}'
regex: false

- name: Replace SIASN_CONST_INSTANSI_ID in phpunit.xml
uses: jacobtomlinson/gha-find-replace@v3
with:
include: 'phpunit.xml'
find: '{{SIASN_CONST_INSTANSI_ID}}'
replace: ${{ secrets.SIASN_CONST_INSTANSI_ID }}
replace: '${{ secrets.SIASN_CONST_INSTANSI_ID }}'
regex: false

- name: Replace SIASN_CONST_SATUAN_KERJA_ID in phpunit.xml
uses: jacobtomlinson/gha-find-replace@v3
with:
include: 'phpunit.xml'
find: '{{SIASN_CONST_SATUAN_KERJA_ID}}'
replace: ${{ secrets.SIASN_CONST_SATUAN_KERJA_ID }}
replace: '${{ secrets.SIASN_CONST_SATUAN_KERJA_ID }}'
regex: false

- name: Replace SIASN_CONST_PNS_ORANG_ID in phpunit.xml
uses: jacobtomlinson/gha-find-replace@v3
with:
include: 'phpunit.xml'
find: '{{SIASN_CONST_PNS_ORANG_ID}}'
replace: ${{ secrets.SIASN_CONST_PNS_ORANG_ID }}
replace: '${{ secrets.SIASN_CONST_PNS_ORANG_ID }}'
regex: false

- name: Execute tests
Expand Down

0 comments on commit 7778b48

Please sign in to comment.