Skip to content

Workflow file for this run

name: 生成包和二进制文件
#run-name: ${{ github.actor }} is learning GitHub Actions
on: [push]
jobs:
check-bats-version:
runs-on: ubuntu-latest
steps:
- name: get
uses: actions/checkout@v4
- name: Build
run: python3 pkg.py
- name: ls
run: ls .jcm/
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: jcm
release_name: Release jcm
draft: false
prerelease: false
- name: echo
run: echo ${{ steps.create_release.outputs.upload_url }}
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: .jcm/pkg/Packages
asset_name: Packages
asset_content_type: application/zip