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
|
||||
with:
|
||||
repository: armbian/build
|
||||
fetch-depth: 0
|
||||
ref: ${{ inputs.armbian_branch }}
|
||||
clean: false
|
||||
path: build
|
||||
|
||||
@@ -163,9 +163,8 @@ runs:
|
||||
DESKTOP_ENVIRONMENT_CONFIG_NAME="config_base"
|
||||
fi
|
||||
|
||||
# go to build folder and checkout
|
||||
# go to build folder
|
||||
cd build
|
||||
git checkout ${{ inputs.armbian_branch }}
|
||||
|
||||
# execute build command
|
||||
./compile.sh "${{ inputs.armbian_target }}" \
|
||||
|
||||
Reference in New Issue
Block a user