Skip to content

Commit

Permalink
Create test release.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Dec 21, 2024
1 parent 637e879 commit a790a86
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test ToDesktop Action

on:
workflow_dispatch:
inputs:
release_tag:
description: 'Release tag to test with'
required: true
default: 'test-v0.0.1'

jobs:
test-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Create test release
run: |
gh release create ${{ github.event.inputs.release_tag }} \
--title "Test Release" \
--notes "This is a test release" \
--draft
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: ./.github/actions/build/todesktop
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TODESKTOP_EMAIL: ${{ secrets.TODESKTOP_EMAIL }}
TODESKTOP_ACCESS_TOKEN: ${{ secrets.TODESKTOP_ACCESS_TOKEN }}
RELEASE_TAG: ${{ github.event.inputs.release_tag }}

0 comments on commit a790a86

Please sign in to comment.