actions UPDATE fix github env var access
diff --git a/.github/workflows/devel-push.yml b/.github/workflows/devel-push.yml
index 965d692..4818772 100644
--- a/.github/workflows/devel-push.yml
+++ b/.github/workflows/devel-push.yml
@@ -11,7 +11,7 @@
 jobs:
   git-branch:
     name: Get git branch
-    runs-on: ubuntu-18.04
+    runs-on: ubuntu-latest
     outputs:
       branch-name: ${{ steps.get-git-branch.outputs.branch-name }}
     steps:
@@ -22,7 +22,7 @@
           else
             export GIT_BRANCH=${{ github.base_ref }}
           fi
-          echo "::set-output name=branch-name::$GIT_BRANCH"
+          echo "GIT_BRANCH=$GIT_BRANCH" >> $GITHUB_ENV
 
   build:
     name: ${{ matrix.config.name }}
@@ -58,7 +58,7 @@
           }
 
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
 
       - name: Deps-packages
         shell: bash
@@ -84,7 +84,7 @@
       - name: Deps-libyang
         shell: bash
         run: |
-          git clone -b ${{needs.git-branch.outputs.branch-name}} https://github.com/CESNET/libyang.git
+          git clone -b ${{ env.GIT_BRANCH }} https://github.com/CESNET/libyang.git
           cd libyang
           mkdir build
           cd build