chore: add the upload artifact
Some checks failed
Build/release / action-release (push) Failing after 2s

This commit is contained in:
2025-09-30 08:46:43 +02:00
parent 7944160696
commit 5e61863d4a

View File

@@ -10,6 +10,7 @@ on:
env:
DEBIAN_FRONTEND: "noninteractive"
GH_TOKEN: "${{ secrets.GH_TOKEN || secrets.GITEA_TOKEN }}"
VERSION: "v0.1.0"
YARN_URL: "https://github.com/yarnpkg/yarn/releases/download/v1.22.22/yarn-1.22.22.js"
@@ -39,20 +40,12 @@ jobs:
apt-get install -y \
dpkg \
flatpak \
flatpak-builder \
fuse3 \
rpm \
libglib2.0-dev \
wget \
curl \
fakeroot \
xvfb
flatpak remote-add --user \
--if-not-exists \
flathub https://flathub.org/repo/flathub.flatpakrepo
- name: Install NPM dependencies
run: |
yarn install
@@ -61,6 +54,18 @@ jobs:
run: |
yarn build
- name: upload the building actifacts
uses: actions/upload_artifact@4
with:
name: packages
path: |
./release/*.deb
./release/*.rpm
./release/*.flatpak
./release/latest-linux.yml
retention-days: 7
overwrite: true
- name: Release
uses: akkuman/gitea-release-action@v1
if: github.ref_type == 'tag'
@@ -75,4 +80,4 @@ jobs:
repository: "DaanSelen/ms365-electron-sandbox"
tag_name: "${{ env.VERSION }}"
name: "${{ env.VERSION }}"
sha256sum: true
sha256sum: true