Skip to content

Commit b920fa6

Browse files
author
Julien Pivotto
committed
Upload to release
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
1 parent 41c4c9e commit b920fa6

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/main.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,16 @@ jobs:
1313
extra_nix_config: |
1414
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
1515
- run: make
16-
- uses: actions/upload-artifact@v3
16+
- name: Upload binaries to release
17+
uses: svenstaro/upload-release-action@v2
1718
with:
18-
name: oy-toolkit
19-
path: result/bin/
19+
repo_token: ${{ secrets.GITHUB_TOKEN }}
20+
file: result/bin/*
21+
prerelease: true
22+
release_name: latest
23+
tag: ${{ github.ref }}
24+
overwrite: true
25+
file_glob: true
2026
- run: make publish DOCKER_USERNAME=${{ secrets.DOCKER_USERNAME }} DOCKER_PASSWORD=${{ secrets.DOCKER_PASSWORD }}
2127
- run: make documentation
2228
- name: deploy documentation

0 commit comments

Comments
 (0)