Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kei35 authored Aug 29, 2024
1 parent 16da9d5 commit 7d9c801
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ on: [push]

jobs:
build:
runs-on: ubuntu-latest
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- name: Install GCC
run: sudo apt-get install -y g++
- name: Compile
run: g++ -o my_executable main.cpp
run: g++ -o my_executable.exe main.cpp
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: my_executable
path: my_executable.exe

0 comments on commit 7d9c801

Please sign in to comment.