Skip to content
This repository has been archived by the owner on Jan 5, 2022. It is now read-only.

Latest commit

 

History

History
39 lines (30 loc) · 1.06 KB

README.md

File metadata and controls

39 lines (30 loc) · 1.06 KB

rs-permission-converter

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.

Usage

See action.yml.

Basic Usage

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