Skip to content

Commit de98606

Browse files
committed
added workflow and correct the submodule path
1 parent 16561e2 commit de98606

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

.github/workflows/main.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI
4+
5+
# Controls when the action will run. Triggers the workflow on push or pull request
6+
# events but only for the master branch
7+
on:
8+
push:
9+
branches: [ master ]
10+
pull_request:
11+
branches: [ master ]
12+
13+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
14+
jobs:
15+
# This workflow contains a single job called "build"
16+
build:
17+
# The type of runner that the job will run on
18+
runs-on: ubuntu-latest
19+
20+
# Steps represent a sequence of tasks that will be executed as part of the job
21+
steps:
22+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23+
- uses: actions/checkout@v2
24+
25+
# Update submodules
26+
- name: Submodules update
27+
run: git submodule update --init --recursive
28+
29+
- uses: freeioe/freeioe_build_action@v1
30+
with:
31+
action: build_ext_all.sh
32+
33+
- uses: actions/upload-artifact@v2
34+
with:
35+
name: my-artifact
36+
path: ${{ steps.build.outputs.filename }}

.gitmodules

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "snap7"]
22
path = snap7
3-
url = git@github.com:srdgame/snap7.git
3+
url = https://github.com/srdgame/snap7.git

0 commit comments

Comments
 (0)