diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 2091ed9319f0d..2ce83d0497690 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -13,13 +13,15 @@ jobs: contents: write env: BUILD_DIR: build - BRANCH_NAME: ${{ github.event.repository.default_branch }} + BRANCH_NAME: ${{ github.ref_name }} RELEASE_BIN_ARCHIVE: qemu-ot-earlgrey-${{ inputs.release_tag }}-x86_64-unknown-linux-gnu.tar.gz runs-on: ubuntu-22.04 timeout-minutes: 10 steps: - name: Check out repository uses: actions/checkout@v3 + with: + ref: ${{ github.ref }} # Update the package index, then install all dependencies listed in # the various apt-requirements.txt files in the project. - name: Install Dependencies