Release test
This commit is contained in:
24
.github/workflows/github-actions-demo.yml
vendored
24
.github/workflows/github-actions-demo.yml
vendored
@@ -36,14 +36,32 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
|
name: Download Windows artifacts
|
||||||
with:
|
with:
|
||||||
name: alma-windows
|
name: alma-windows
|
||||||
path: app/windows/
|
path: app/windows/
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
|
name: Download Linux artifacts
|
||||||
with:
|
with:
|
||||||
name: alma-linux
|
name: alma-linux
|
||||||
path: app/linux/
|
path: app/linux/
|
||||||
|
|
||||||
- name: Display structure of downloaded files
|
- name: Create release directory
|
||||||
run: ls -R
|
run: mkdir release
|
||||||
working-directory: app
|
|
||||||
|
- name: Copy windows executable
|
||||||
|
run: cp app/windows/Alma.exe release/alma.exe
|
||||||
|
|
||||||
|
- name: Copy linux executable
|
||||||
|
run: cp app/linux/Alma release/alma-linux
|
||||||
|
|
||||||
|
- uses: "marvinpinto/action-automatic-releases@latest"
|
||||||
|
name: Create release
|
||||||
|
with:
|
||||||
|
title: Test
|
||||||
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
automatic_release_tag: latest
|
||||||
|
prerelease: false
|
||||||
|
draft: true
|
||||||
|
files: |
|
||||||
|
release/alma*
|
||||||
|
|||||||
Reference in New Issue
Block a user