Skip to content

Commit

Permalink
Теперь CI добавляет все файлы в релиз
Browse files Browse the repository at this point in the history
  • Loading branch information
0Nera committed Nov 19, 2023
1 parent e964524 commit fb398b9
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:
- name: save
run: |
mkdir -p release
cp ${{ github.workspace }}/kernel.elf release/
cp ${{ github.workspace }}/bmosp.hdd release/
cp ${{ github.workspace }}/bmosp.iso release/
cp ${{ github.workspace }}/LICENSE release/
mkdir -p ${{ github.workspace }}/release
cp ${{ github.workspace }}/kernel.elf ${{ github.workspace }}/release/
cp ${{ github.workspace }}/bmosp.hdd ${{ github.workspace }}/release/
cp ${{ github.workspace }}/bmosp.iso ${{ github.workspace }}/release/
cp ${{ github.workspace }}/LICENSE ${{ github.workspace }}/release/
- uses: actions/upload-artifact@v3
with:
Expand All @@ -57,14 +57,23 @@ jobs:

steps:
- uses: actions/download-artifact@v3

- name: check
run: |
ls -la release
- name: release
uses: softprops/[email protected]
with:
name: ${{ inputs.test_label }}
tag_name: autobuild
draft: true
files: '**/release/*'
files: |
${{ github.workspace }}/release/kernel.elf
${{ github.workspace }}/release/bmosp.hdd
${{ github.workspace }}/release/bmosp.iso
${{ github.workspace }}/release/LICENSE
body: |
${{ inputs.test_label }}
Expand Down

0 comments on commit fb398b9

Please sign in to comment.