Skip to content

Create ~/ktp-jako if missing before logdelivery #169

Create ~/ktp-jako if missing before logdelivery

Create ~/ktp-jako if missing before logdelivery #169

Workflow file for this run

name: "Build And Publish"
on: push
jobs:
build_and_publish:
name: "Build And Publish Naksu Packages"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: "Build Naksu"
run: make docker
- name: "Delete Existing Draft Releases"
run: python3 tools/github_purge_draft_releases.py $GITHUB_REPOSITORY ${{ secrets.GITHUB_TOKEN }}
- name: "Create Draft Release"
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: "NaksuDraft"
release_name: ""
draft: true
prerelease: false
- name: "Upload Windows build to Draft"
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./naksu_windows_amd64.zip
asset_name: naksu_windows_amd64.zip
asset_content_type: application/zip
- name: "Upload Linux build to Draft"
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./naksu_linux_amd64.zip
asset_name: naksu_linux_amd64.zip
asset_content_type: application/zip