run with inputs #2
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: Write variable | |
| on: | |
| push: | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| run: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: echo olod value = '${{vars.TEST_VARIABLE2}}' | |
| - run: gh variable set TEST_VARIABLE2 --body "Last run was ${{github.run_number}}" --repo ${{github.repository}} | |
| env: | |
| GH_TOKEN: ${{github.token}} |