Files
standardnotes-app-web/.github/workflows/desktop.release.test.yml
2022-06-12 09:32:45 -05:00

33 lines
866 B
YAML

name: Desktop Release (Test)
on:
workflow_dispatch:
jobs:
Release:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/desktop
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
registry-url: 'https://registry.npmjs.org'
- run: mkdir files
- run: echo Foo >> files/foo.txt
- run: echo Bar >> files/bar.txt
- name: 'Get Previous tag'
id: previous_tag
uses: "WyriHaximus/github-action-get-previous-tag@v1"
with:
fallback: 1.0.0
- name: Release
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.CI_PAT_TOKEN }}
tag_name: ${{steps.previous_tag.outputs.tag}}
prerelease: true
draft: true
files: |
packages/desktop/files/*