Skip to content

make question.py available as a the name of the file #2

make question.py available as a the name of the file

make question.py available as a the name of the file #2

Workflow file for this run

name: Create Release
on:
push:
tags:
- 'v*.*.*' # Trigger the workflow on push to tags matching the semantic versioning format
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./question.py
asset_name: question.py
asset_content_type: text/x-python
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}