diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index da5486d..9746125 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,40 +16,18 @@ jobs: matrix: goos: [linux, windows, darwin] goarch: [amd64, arm64] + app: [mediadump, flv2avc, mp42avc] steps: - uses: actions/checkout@v4 - name: Set APP_VERSION env run: echo APP_VERSION=$(basename ${GITHUB_REF}) >> ${GITHUB_ENV} - # ./cmd/mediadump - uses: wangyoucao577/go-release-action@v1 with: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} - project_path: ./cmd/mediadump - binary_name: mediadump - build_flags: -v -tags ${{ env.APP_VERSION }} - md5sum: false - - # ./cmd/flv2avc - - uses: wangyoucao577/go-release-action@v1 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - goos: ${{ matrix.goos }} - goarch: ${{ matrix.goarch }} - project_path: ./cmd/flv2avc - binary_name: flv2avc - build_flags: -v -tags ${{ env.APP_VERSION }} - md5sum: false - - # ./cmd/mp42avc - - uses: wangyoucao577/go-release-action@v1 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - goos: ${{ matrix.goos }} - goarch: ${{ matrix.goarch }} - project_path: ./cmd/mp42avc - binary_name: mp42avc + project_path: ./cmd/${{ matrix.app }} + binary_name: ${{ matrix.app }} build_flags: -v -tags ${{ env.APP_VERSION }} md5sum: false