Skip to content

Commit

Permalink
update manual
Browse files Browse the repository at this point in the history
  • Loading branch information
gauron99 committed Dec 11, 2024
1 parent 53cb75a commit aef1635
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/manual-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@ jobs:
env:
FUNC_VERSION: "v1.16.1"
ACTIONS_STEP_DEBUG: true
ALL_LANGUAGES: "['go','python','node','rust','springboot','quarkus','typescript']"
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install func
uses: gauron99/knative-func-action@main
version: ${{ FUNC_VERSION}}
with:
version: ${{ FUNC_VERSION }}
name: f

- name: Build Functions
matrix: ${{ ALL_LANGUAGES }}
run: |
WORKDIR=$(mktemp -d)
cd $WORKDIR
Expand All @@ -39,11 +42,7 @@ jobs:
ls -la ${GITHUB_WORKSPACE}
template=$(basename "$template_dir_abs")
echo "f create $lang-$template -r=$url -l=$lang -t=$template"
if [ $lang = "python" ];then
f create $lang-$template -r "$url"
else
f create $lang-$template -r "$url" -l "$lang" -t "$template"
fi
f create $lang-$template -r "$url" -l "$lang" -t "$template"
#FUNC_ENABLE_HOST_BUILDER=1 FUNC_BUILDER=host FUNC_CONTAINER=false FUNC_REGISTRY=docker.io/4141gauron3268 f
done
done
Expand Down

0 comments on commit aef1635

Please sign in to comment.