From 2daf7546f4ac431e78fb84563fb2d8b4c9c94721 Mon Sep 17 00:00:00 2001 From: gm Date: Thu, 28 Jan 2021 19:58:45 +0100 Subject: [PATCH] Switch to main as default branch --- .github/workflows/build_and_run.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_and_run.yaml b/.github/workflows/build_and_run.yaml index ea3ad188..5c59ee6f 100644 --- a/.github/workflows/build_and_run.yaml +++ b/.github/workflows/build_and_run.yaml @@ -19,12 +19,12 @@ jobs: KERNEL: ${{ matrix.kernel }} SUITE: ${{ matrix.suite }} run: ./debirf/build_and_run_images - # if: github.ref == 'refs/heads/master' + # if: github.ref == 'refs/heads//aster' - name: Upload build artifacts uses: actions/upload-artifact@v2 with: path: debirf/build/coinboot* - # if: github.ref == 'refs/heads/master' + # if: github.ref == 'refs/heads/main' create_pre-release: needs: build_and_run @@ -88,8 +88,8 @@ jobs: uses: actions/download-artifact@v2 with: path: debirf/build - - name: Create release from pre-release on master - if: github.ref == 'refs/heads/master' + - name: Create release from pre-release on main + if: github.ref == 'refs/heads/main' env: GITHUB_USER: "frzb" GITHUB_REPO: "coinboot" @@ -113,9 +113,9 @@ jobs: git push origin :refs/tags/"${PRE_RELEASE_TAG}" github-release -v release --tag $RELEASE_TAG --name $RELEASE_TAG find ./debirf/build/artifact -name coinboot-* -type f -execdir sh -c "readlink -f {} && basename {}" \; | xargs -n 2 sh -c 'github-release -v upload --tag $RELEASE_TAG -n $2 -f $1 -l $2' sh - - name: Remove pre-release if not on master - # Only remove pre-release on master, else make a release. - if: github.ref != 'refs/heads/master' + - name: Remove pre-release if not on main + # Only remove pre-release on main, else make a release. + if: github.ref != 'refs/heads/main' env: GITHUB_USER: "frzb" GITHUB_REPO: "coinboot"