Skip to content

Draft Release

Draft Release #3

Workflow file for this run

name: Draft Release
on:
workflow_dispatch:
inputs:
tag:
description: 'Version Tag'
required: true
jobs:
getting_started:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Zip tutorial folder
run: |
zip -r quickstart-dev-container.zip tutorial/getting-started
- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.event.inputs.tag }}
release_name: Release ${{ github.event.inputs.tag }}
draft: true
prerelease: false
- name: Upload release asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./quickstart-dev-container.zip
asset_name: quickstart-dev-container.zip
asset_content_type: application/zip