mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Github Action: checkout the selected branch directly
checkout the selected branch directly in actions/checkout step
This commit is contained in:
@@ -122,7 +122,7 @@ runs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: armbian/build
|
repository: armbian/build
|
||||||
fetch-depth: 0
|
ref: ${{ inputs.armbian_branch }}
|
||||||
clean: false
|
clean: false
|
||||||
path: build
|
path: build
|
||||||
|
|
||||||
@@ -163,9 +163,8 @@ runs:
|
|||||||
DESKTOP_ENVIRONMENT_CONFIG_NAME="config_base"
|
DESKTOP_ENVIRONMENT_CONFIG_NAME="config_base"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# go to build folder and checkout
|
# go to build folder
|
||||||
cd build
|
cd build
|
||||||
git checkout ${{ inputs.armbian_branch }}
|
|
||||||
|
|
||||||
# execute build command
|
# execute build command
|
||||||
./compile.sh "${{ inputs.armbian_target }}" \
|
./compile.sh "${{ inputs.armbian_target }}" \
|
||||||
|
|||||||
Reference in New Issue
Block a user