Add MIT license (code) with CC BY 4.0 data note #402
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Run GAMS Model | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: gams/gams:latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v3 | |
| - name: Inject GAMS license | |
| env: | |
| GAMS_LICENSE: ${{ secrets.GAMS_LICENSE }} | |
| run: | | |
| echo "$GAMS_LICENSE" > /gams/gamslice.txt | |
| - name: Run GAMS model | |
| run: | | |
| cd epm | |
| gams main.gms --MODELTYPE RMIP |