This GitHub Action converts a permission.xml file into sql file or into resx files. It is the xml file that is the master when adding new access rights and translations.
See action.yml.
This example generates sql file and resx files
on: push
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@master
- name: Create sql file from permission xml
uses: extenda/actions/rs-permission-converter@v0
with:
type: sql
tool-version: 1.0.1
work-directory: .
permission-file: RS.Security.Resources\Permissions.xml
sql-file: RS.Security.Resources\DatabaseScripts\R__Permissions.sql
- name: Create resx file from permission xml
uses: extenda/actions/rs-permission-converter@v0
with:
type: resx
tool-version: 1.0.1
work-directory: .
permission-file: RS.Security.Resources\Permissions.xml
output-dir: RS.Security.Resources\Resources