diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/release.yml | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index acfe2ce0..394a6660 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,16 +11,18 @@ on: jobs: build: runs-on: ubuntu-16.04 - + steps: - - name: checking out - uses: actions/checkout@master + - name: checking out + uses: actions/checkout@v2 + with: + fetch-depth: 0 - - name: releasing - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - wget https://github.com/goreleaser/goreleaser/releases/download/v0.108.0/goreleaser_amd64.deb - sudo dpkg -i goreleaser_amd64.deb - rm goreleaser_amd64.deb - cd /home/runner/work/gobgp/gobgp && goreleaser release + - name: releasing + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + wget https://github.com/goreleaser/goreleaser/releases/download/v0.108.0/goreleaser_amd64.deb + sudo dpkg -i goreleaser_amd64.deb + rm goreleaser_amd64.deb + cd /home/runner/work/gobgp/gobgp && goreleaser release |