diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4364071..8a7c6fa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ jobs: with: fetch-depth: 0 - - name: Test + - name: Run tests run: | make test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 80d530f..a8aec01 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,11 @@ jobs: with: fetch-depth: 0 + - name: Retrieve version from tag + run: | + export PACKAGE_VERSION="${{ github.event.release.tag_name }}" + echo "version=$PACKAGE_VERSION" + - uses: wangyoucao577/go-release-action@v1.35 with: github_token: ${{ secrets.GITHUB_TOKEN }}