Fixed some release publish issues

This commit is contained in:
Donkie
2023-12-29 12:33:51 +01:00
parent 96f1c86616
commit dec34df6bd

View File

@@ -67,6 +67,7 @@ jobs:
rm -rf client
mkdir client
mv dist client/dist
rm -rf .git
- name: Upload client Spoolman artifact
uses: actions/upload-artifact@v3
@@ -356,16 +357,12 @@ jobs:
uses: actions/download-artifact@v3
with:
name: spoolman
path: /tmp
path: /spoolman
- name: Extract spoolman
run: |
unzip /tmp/spoolman.zip -d /tmp/spoolman
rm /tmp/spoolman.zip
- name: Generate release info
run: |
cd /tmp/spoolman
cd /spoolman
ls -R
echo '{
"project_name": "Spoolman",
"project_owner": "Donkie",
@@ -374,7 +371,7 @@ jobs:
- name: Zip
run: |
cd /tmp/spoolman
cd /spoolman
zip -r spoolman.zip *
- name: Create release and upload build
@@ -384,6 +381,7 @@ jobs:
draft: true
name: ${{ github.ref_name }}
tag_name: ${{ github.ref_name }}
files: /tmp/spoolman/spoolman.zip
files: /spoolman/spoolman.zip
token: ${{ secrets.GITHUB_TOKEN }}
body: "⚠️ TODO ⚠️"