Skip to content

Commit

Permalink
protected tags
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh committed Apr 6, 2022
1 parent 6efbbc0 commit 981a22f
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/playground.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
name: Playground
on: [workflow_dispatch]
on:
workflow_dispatch:
inputs:
draft:
description: Draft
required: true
tag_name:
description: Tag Name
required: true


jobs:
playground:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- run: |
ls /usr/lib
ls /usr/lib/x86_64-linux-gnu
gh api '/repos/${{ github.repository }}/releases' -F 'draft=${{ github.event.inputs.draft }}' -f 'tag_name=${{ github.event.inputs.tag_name }}' -F 'generate_release_notes=true'
shell: bash

0 comments on commit 981a22f

Please sign in to comment.