Files
FrugalityBot/.gitea/workflows/compile.yml
csxkdv 9dc1cf10c7
Some checks failed
Compile / Compile (push) Failing after 23s
Updated Set Token workflow to correct variables
2026-01-06 17:56:04 -03:00

27 lines
631 B
YAML

name: Compile
run-name: Compiling software (Ubuntu)
on: [push]
jobs:
Compile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Ruby and Bundler
run: |
apt-get update
apt-get install -y ruby-full
gem install bundler
- name: Install dependencies
run: bundle install
- name: Set Token and Server ID
run: |
export BOT_TOKEN="${{ secrets.TOKEN }}"
export TEST_SERVER_ID="${{ secrets.SERVER_ID }}"
- name: Execute program
run: bundle exec ruby main.rb