Skip to content

run time

run time #2

Workflow file for this run

name: "C++ CI"
on:
push:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
with:
submodules: true
- run: cmake .
- run: cmake --build .
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.run_number }}
release_name: Release ${{ github.run_number }}
draft: false
prerelease: false
- 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 }}
asset_path: ./MyAllocator-0.0.1-Linux.deb
asset_name: MyAllocator-0.0.1-Linux.deb
asset_content_type: application/vnd.debian.binary-package