Merge branch 'support_key_number' #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release project | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build: | |
name: Building project | |
uses: ./.github/workflows/build.yml | |
upload: | |
name: Uploading files | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: ZIP files | |
uses: thedoctor0/zip-release@master | |
with: | |
type: 'zip' | |
filename: 'release.zip' | |
directory: 'Components' | |
- name: Download build artifatcs | |
uses: actions/download-artifact@v3 | |
with: | |
name: Build_Output | |
- name: List of files | |
run: ls | |
- name: Upload lib source files to release | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: release.zip | |
asset_name: NVS_Lib_$tag.zip | |
tag: ${{ github.ref }} | |
- name: Upload Windows executable file to release | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: NVS_Test.exe | |
asset_name: NVS_Test_amd64_Windows_$tag.exe | |
tag: ${{ github.ref }} | |
- name: Upload Linux executable file to release | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: NVS_Test | |
asset_name: NVS_Test_amd64_Linux_$tag | |
tag: ${{ github.ref }} |