Skip to content

Merge pull request #61 from EdwinBetanc0urt/feature/is-multi-selectio… #194

Merge pull request #61 from EdwinBetanc0urt/feature/is-multi-selectio…

Merge pull request #61 from EdwinBetanc0urt/feature/is-multi-selectio… #194

Workflow file for this run

name: Build Project
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the develop branch
push:
branches: [ "main", "master", "develop", "bugfix/*", "feature/*" ]
pull_request:
branches: [ "main", "master", "develop", "bugfix/*", "feature/*" ]
env:
# Pretty cargo output!
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Create Distribution Folder
run: mkdir distributions
- name: Copy files
run: |
cp .env distributions/
cp target/debug/server distributions/
- name: Upload Binary Files
uses: actions/upload-artifact@v4
with:
name: dictionary_rs
path: distributions/