From 20a92835c1179d9c7e7d398c4742a83146847cc7 Mon Sep 17 00:00:00 2001 From: Futa Hirakoba Date: Mon, 22 Mar 2021 05:35:17 +0900 Subject: [PATCH] fix: release --- .github/workflows/release.yaml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 43285e5..2e81126 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -11,15 +11,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Put back the git branch into git (Earthly uses it for tagging) - run: | - branch="" - if [ -n "$GITHUB_HEAD_REF" ]; then - branch="$GITHUB_HEAD_REF" - else - branch="${GITHUB_REF##*/}" - fi - git checkout -b "$branch" || true - run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.5.7/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" - name: +release run: earthly --secret GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} --ci --use-inline-cache --push +release @@ -29,15 +20,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Put back the git branch into git (Earthly uses it for tagging) - run: | - branch="" - if [ -n "$GITHUB_HEAD_REF" ]; then - branch="$GITHUB_HEAD_REF" - else - branch="${GITHUB_REF##*/}" - fi - git checkout -b "$branch" || true - run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.5.7/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" - name: +docker run: earthly --secret GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} --use-inline-cache --push +docker