Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tarampampam authored Sep 2, 2020
1 parent 94d480f commit ccaa36d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ jobs:
go-version: 1.13

- name: Check out code
uses: actions/checkout@v1
with:
fetch-depth: 1
uses: actions/checkout@v2

- name: Generate version value
run: echo "::set-env name=version::${GITHUB_REF##*/}@`echo ${GITHUB_SHA} | cut -c1-8`"
Expand All @@ -34,7 +32,7 @@ jobs:
run: go build -ldflags="-s -w -X mikrotik-hosts-parser/version.version=${version}" -o ./mikrotik-hosts-parser-${{ matrix.os }}-${{ matrix.arch }} .

- name: Upload to release
uses: docker://gact/upload-to-release:latest # https://github.com/actions-github/upload-to-release
uses: docker://gacts/upload-to-release:latest # https://github.com/actions-github/upload-to-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -46,9 +44,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v1
with:
fetch-depth: 1
uses: actions/checkout@v2

- name: Generate version value
run: echo "::set-env name=version::${GITHUB_REF##*/}@`echo ${GITHUB_SHA} | cut -c1-8`"
Expand Down

0 comments on commit ccaa36d

Please sign in to comment.