Skip to content

Commit f12e6f0

Browse files
Add latest tag to the workflow
1 parent 9a35681 commit f12e6f0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/main.yaml

+17
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,20 @@ jobs:
135135
./artifact/code-coverage.tar.gz
136136
./artifact/self-update-agent-amd64-build-${{ github.run_number }}.tar.gz
137137
./artifact/self-update-agent-arm64-build-${{ github.run_number }}.tar.gz
138+
139+
- name: Upload artifacts to build results (make latest tag)
140+
if: github.event_name == 'push'
141+
uses: marvinpinto/action-automatic-releases@latest
142+
with:
143+
repo_token: ${{ secrets.GITHUB_TOKEN }}
144+
draft: false
145+
prerelease: true
146+
automatic_release_tag: latest
147+
title: "Latest build (${{ github.run_number }})"
148+
files: |
149+
./artifact/unit_tests_report_amd64.*
150+
./artifact/unit_tests_report_arm64.*
151+
./artifact/code-coverage.tar.gz
152+
./artifact/self-update-agent-amd64-build-${{ github.run_number }}.tar.gz
153+
./artifact/self-update-agent-arm64-build-${{ github.run_number }}.tar.gz
154+

0 commit comments

Comments
 (0)