Skip to content

Commit

Permalink
Added test for creating releases
Browse files Browse the repository at this point in the history
  • Loading branch information
PathogenDavid committed Aug 1, 2020
1 parent 00795f5 commit e86c2bb
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release Test
on:
workflow_dispatch:
jobs:
make-release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Create release
id: create-release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
tag_name: v${{github.run_number}}
release_Name: Test Release v${{github.run_number}}
body: TODO
draft: true
prerelease: false
- name: Output release info
run: |
echo Release id: ${{steps.create-release.outputs.id}}
echo Release URL: ${{steps.create-release.outputs.html_url}}
echo Release upload URL: ${{steps.create-release.outputs.upload_url}}

0 comments on commit e86c2bb

Please sign in to comment.