github.com/cs3org/reva/v2@v2.27.7/.github/workflows/release.yml (about) 1 name: Release 2 on: 3 push: 4 tags: 5 - "*" 6 7 jobs: 8 release: 9 runs-on: self-hosted 10 steps: 11 - name: Checkout 12 uses: actions/checkout@v3 13 - name: Setup Go environment 14 uses: actions/setup-go@v3.3.0 15 with: 16 go-version-file: go.mod 17 - name: Make distribution 18 run: make dist VERSION=${{ github.ref_name }} GIT_COMMIT=${{ github.sha }} GO_VERSION=$(go version | awk '{print $3}') 19 - name: Release 20 uses: softprops/action-gh-release@v1 21 if: startsWith(github.ref, 'refs/tags/') 22 with: 23 files: "dist/*" 24 body_path: "changelog/NOTE.md"