chore: add the upload artifact
Some checks failed
Build/release / action-release (push) Failing after 2s
Some checks failed
Build/release / action-release (push) Failing after 2s
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user