Remove set-output commands
Remove unused variable and update deprecated code Signed-off-by: Sakshi Aggarwal <81718060+sakshiagrwal@users.noreply.github.com>
This commit is contained in:
parent
dbae9099e5
commit
3fe586fe33
15
.github/workflows/Recovery Build.yml
vendored
15
.github/workflows/Recovery Build.yml
vendored
@ -88,11 +88,6 @@ jobs:
|
|||||||
ssh-private-key: |
|
ssh-private-key: |
|
||||||
${{ secrets.SSH_PRIVATE_KEY }}
|
${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
|
||||||
- name: Set variables
|
|
||||||
run: |
|
|
||||||
echo "::set-output name=date::$(date +%F)"
|
|
||||||
id: var
|
|
||||||
|
|
||||||
- name: Install repo
|
- name: Install repo
|
||||||
run: |
|
run: |
|
||||||
mkdir ~/bin
|
mkdir ~/bin
|
||||||
@ -104,7 +99,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir workspace
|
mkdir workspace
|
||||||
cd workspace
|
cd workspace
|
||||||
echo "::set-output name=pwd::$(pwd)"
|
echo "workspace-folder=$(pwd)" >> $GITHUB_OUTPUT
|
||||||
git config --global user.name "Captain Throwback"
|
git config --global user.name "Captain Throwback"
|
||||||
git config --global user.email "captainthrowback@hotmail.com"
|
git config --global user.email "captainthrowback@hotmail.com"
|
||||||
repo init --depth=1 -u ${{ github.event.inputs.MANIFEST_URL }} -b ${{ github.event.inputs.MANIFEST_BRANCH }}
|
repo init --depth=1 -u ${{ github.event.inputs.MANIFEST_URL }} -b ${{ github.event.inputs.MANIFEST_BRANCH }}
|
||||||
@ -118,7 +113,7 @@ jobs:
|
|||||||
- name: Clone device tree
|
- name: Clone device tree
|
||||||
run: |
|
run: |
|
||||||
git clone ${{ github.event.inputs.DEVICE_TREE_URL }} -b ${{ github.event.inputs.DEVICE_TREE_BRANCH }} ./${{ github.event.inputs.DEVICE_PATH }}
|
git clone ${{ github.event.inputs.DEVICE_TREE_URL }} -b ${{ github.event.inputs.DEVICE_TREE_BRANCH }} ./${{ github.event.inputs.DEVICE_PATH }}
|
||||||
working-directory: ${{ steps.pwd.outputs.pwd }}
|
working-directory: ${{ steps.pwd.outputs.workspace-folder }}
|
||||||
|
|
||||||
- name: Clone common tree
|
- name: Clone common tree
|
||||||
if: |
|
if: |
|
||||||
@ -126,7 +121,7 @@ jobs:
|
|||||||
&& github.event.inputs.COMMON_PATH != null
|
&& github.event.inputs.COMMON_PATH != null
|
||||||
run: |
|
run: |
|
||||||
git clone ${{ github.event.inputs.COMMON_TREE_URL }} -b ${{ github.event.inputs.DEVICE_TREE_BRANCH }} ./${{ github.event.inputs.COMMON_PATH }}
|
git clone ${{ github.event.inputs.COMMON_TREE_URL }} -b ${{ github.event.inputs.DEVICE_TREE_BRANCH }} ./${{ github.event.inputs.COMMON_PATH }}
|
||||||
working-directory: ${{ steps.pwd.outputs.pwd }}
|
working-directory: ${{ steps.pwd.outputs.workspace-folder }}
|
||||||
|
|
||||||
- name: Check Build Tree
|
- name: Check Build Tree
|
||||||
uses: haya14busa/action-cond@v1
|
uses: haya14busa/action-cond@v1
|
||||||
@ -140,7 +135,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
bash ${GITHUB_WORKSPACE}/scripts/convert.sh ${{ github.event.inputs.DEVICE_PATH }}/${{ steps.buildtree.outputs.value }}.dependencies
|
bash ${GITHUB_WORKSPACE}/scripts/convert.sh ${{ github.event.inputs.DEVICE_PATH }}/${{ steps.buildtree.outputs.value }}.dependencies
|
||||||
repo sync -j$(nproc --all)
|
repo sync -j$(nproc --all)
|
||||||
working-directory: ${{ steps.pwd.outputs.pwd }}
|
working-directory: ${{ steps.pwd.outputs.workspace-folder }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Set Swap Space
|
- name: Set Swap Space
|
||||||
@ -153,7 +148,7 @@ jobs:
|
|||||||
source build/envsetup.sh
|
source build/envsetup.sh
|
||||||
export ALLOW_MISSING_DEPENDENCIES=true
|
export ALLOW_MISSING_DEPENDENCIES=true
|
||||||
lunch ${{ github.event.inputs.MAKEFILE_NAME }}-eng && make clean && make ${{ github.event.inputs.BUILD_TARGET }}image -j$(nproc --all)
|
lunch ${{ github.event.inputs.MAKEFILE_NAME }}-eng && make clean && make ${{ github.event.inputs.BUILD_TARGET }}image -j$(nproc --all)
|
||||||
working-directory: ${{ steps.pwd.outputs.pwd }}
|
working-directory: ${{ steps.pwd.outputs.workspace-folder }}
|
||||||
|
|
||||||
- name: Upload to Release
|
- name: Upload to Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
|
Loading…
Reference in New Issue
Block a user