Skip to content

Commit

Permalink
ci: Disable build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
bahattincinic committed May 31, 2024
1 parent ce0c009 commit 702def5
Showing 1 changed file with 0 additions and 48 deletions.
48 changes: 0 additions & 48 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,51 +22,3 @@ jobs:
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}
draft: false

release:
runs-on: ubuntu-latest
needs: tag
strategy:
matrix:
goos: [darwin, linux, windows]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19

- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: "18.17.1"

- name: Install NPM packages
run: cd ui && rm package-lock.json && npm install

- name: Build the project
run: cd ui && npm run build

- name: Build Release Binary
run: |
echo "Building for ${{ matrix.goos }}..."
GOOS=${{ matrix.goos }} GOARCH=amd64 go build -tags=prod -o fitwave ./cmd/fitwave
ls -lh
file fitwave
tar -czvf fitwave_${{ needs.tag.outputs.new_tag }}_${{ matrix.goos }}_amd64.tar.gz fitwave
ls -lh
- name: Upload Release Binary
id: upload-go-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.tag.outputs.upload_url }}
asset_path: ./fitwave_${{ needs.tag.outputs.new_tag }}_${{ matrix.goos }}_amd64.tar.gz
asset_name: fitwave_${{ needs.tag.outputs.new_tag }}_${{ matrix.goos }}_amd64.tar.gz
asset_content_type: application/gzip

0 comments on commit 702def5

Please sign in to comment.