Skip to content

- Fix Dark Reader compatability #121

- Fix Dark Reader compatability

- Fix Dark Reader compatability #121

name: Publish GitHub Release
on:
push:
branches:
- release/production
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: Install dependencies
run: npm i
- name: Make version.sh for xcode project executable
run: chmod +x build/xcode/Save\ to\ Raindrop.io/version.sh
- name: Build for all platforms
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
run: npm run build && npm run build:extension && npm run build:electron
- name: Read package json
id: json
uses: zoexx/github-action-json-file-properties@release
with:
file_path: "package.json"
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: false
title: ${{steps.json.outputs.version}}
files: |
dist/*.zip