Fix markdown #138
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: 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 |