Skip to content

Commit

Permalink
correction workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alancolant committed Mar 24, 2024
1 parent 8b0d27f commit 9fca408
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 60 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,13 @@ jobs:
- name: Build static release
run: |
CGO_ENABLED=1 xcaddy build --output caddy-image-processor --with github.com/quix-labs/caddy-image-processor=.
CGO_ENABLED=1 xcaddy build --output ./build/caddy-image-processor --with github.com/quix-labs/caddy-image-processor=.
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
uses: csexton/release-asset-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./caddy-image-processor
asset_name: caddy-image-processor-linux-amd64
asset_content_type: application/octet-stream
pattern: "build/*"
github-token: ${{ secrets.GITHUB_TOKEN }}
release-url: ${{ steps.create_release.outputs.upload_url }}
54 changes: 0 additions & 54 deletions .github/workflows/build-on-release.yml.work

This file was deleted.

0 comments on commit 9fca408

Please sign in to comment.