Update executa-calculo-exporta-resultados.yaml #5
This file contains 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: Execute Calculo | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
execute_calculo: | |
name: Execute Calculo | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' # Use a versão desejada do Python | |
- name: Run calculation script | |
run: python calculo.py > resultado.txt | |
- name: Display result | |
run: cat resultado.txt |