Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
modify github workflow arklet path
Browse files Browse the repository at this point in the history
  • Loading branch information
youji.zzl committed Sep 25, 2023
1 parent e943f6c commit 1d0a821
Show file tree
Hide file tree
Showing 5 changed files with 449 additions and 42 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/arklet_release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Arklet Release
name: SOFA Serverless Runtime Release

## https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release
## trigger manually
Expand All @@ -21,7 +21,7 @@ jobs:
distribution: 'temurin'
cache: maven
- name: Build with Maven
working-directory: arklet
working-directory: sofa-serverless-runtime
run: mvn clean install -DskipTests -B -U -e && sh ./check_format.sh
release:
needs: build
Expand All @@ -41,7 +41,7 @@ jobs:
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
- name: Build with Maven
run: mvn --batch-mode deploy -DskipTests -Prelease
working-directory: arklet
working-directory: sofa-serverless-runtime
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/arklet_unit_test.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
name: Arklet Unit Test
run-name: ${{ github.actor }} pushed arklet code
name: SOFAServerless Runtime Unit Test
run-name: ${{ github.actor }} pushed code

on:
push:
branches:
- master
paths:
- 'arklet/**'
- 'sofa-serverless-runtime/**'

pull_request:
branches:
- master
paths:
- 'arklet/**'
- 'sofa-serverless-runtime/**'

# enable manually running the workflow
workflow_dispatch:

env:
WORK_DIR: arklet
WORK_DIR: sofa-serverless-runtime

defaults:
run:
working-directory: arklet
working-directory: sofa-serverless-runtime

jobs:
unit-test:
Expand Down
33 changes: 0 additions & 33 deletions .github/workflows/base_runtime_release.yml

This file was deleted.

Loading

0 comments on commit 1d0a821

Please sign in to comment.