Skip to content

Commit 9fca408

Browse files
committed
correction workflow
1 parent 8b0d27f commit 9fca408

File tree

2 files changed

+5
-60
lines changed

2 files changed

+5
-60
lines changed

.github/workflows/build-on-release.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,13 @@ jobs:
3131
3232
- name: Build static release
3333
run: |
34-
CGO_ENABLED=1 xcaddy build --output caddy-image-processor --with github.com/quix-labs/caddy-image-processor=.
34+
CGO_ENABLED=1 xcaddy build --output ./build/caddy-image-processor --with github.com/quix-labs/caddy-image-processor=.
3535
3636
- name: Upload Release Asset
37-
uses: actions/upload-release-asset@v1
37+
uses: csexton/release-asset-action@v3
3838
env:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4040
with:
41-
upload_url: ${{ github.event.release.upload_url }}
42-
asset_path: ./caddy-image-processor
43-
asset_name: caddy-image-processor-linux-amd64
44-
asset_content_type: application/octet-stream
41+
pattern: "build/*"
42+
github-token: ${{ secrets.GITHUB_TOKEN }}
43+
release-url: ${{ steps.create_release.outputs.upload_url }}

.github/workflows/build-on-release.yml.work

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)