diff --git a/.github/workflows/build_releases.yml b/.github/workflows/build_releases.yml deleted file mode 100644 index 5b0b96e..0000000 --- a/.github/workflows/build_releases.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: Build and Release Go Binary - -on: - release: - types: - - created - -jobs: - - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - name: Install or Update CA Certificates - run: | - sudo apt update - sudo apt install -y --reinstall ca-certificates - - - name: Set up Go - uses: actions/setup-go@v4 - with: - go-version: '1.20' - - - name: Build Go project - run: go build -o argon ./src - - - name: Create release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - draft: false - prerelease: false - - - name: Upload binary to release - id: upload-release-asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./argon - asset_name: argon - asset_content_type: application/octet-stream