This repository has been archived by the owner on Jan 20, 2024. It is now read-only.
v52.0.0 #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update loffice-365 | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- '**' | |
jobs: | |
update: | |
name: Update loffice-365 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
cache: "npm" | |
- name: Install dependencies | |
run: | | |
npm install | |
NATIVEFIER_VERSION=$(npm view nativefier version) | |
echo "NATIVEFIER_VERSION=$NATIVEFIER_VERSION" >> $GITHUB_ENV | |
- name: Build | |
run: | | |
npm run build | |
- name: Upload binaries/loffice-365.tgz | |
uses: actions/upload-artifact@v2 | |
with: | |
name: loffice-365.tgz | |
path: binaries/loffice-365.tgz | |
- name: Upload to GitHub release | |
uses: svenstaro/upload-release-action@v2 | |
if: ${{ startsWith(github.ref, 'refs/tags/') }} | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: binaries/loffice-365.tgz |