diff --git a/.gitea/workflows/action-release.yaml b/.gitea/workflows/action-release.yaml index a0ce723..af94692 100644 --- a/.gitea/workflows/action-release.yaml +++ b/.gitea/workflows/action-release.yaml @@ -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 \ No newline at end of file + sha256sum: true