How can I upload artifact to github repository?

Hello,
I have this code:

pipeline {
    agent any
    triggers {
        pollSCM('* * * * *')
    }
    stages {
        stage('build') {
            steps {
                echo 'Hello World'
            }
            post {
        always {
            archiveArtifacts artifacts: 'build/libs/**/*.jar', fingerprint: true
            junit 'build/reports/**/*.xml'
            
        }
    }
        }    }
    
}

and I have to pack the artifact and upload to repo
(and I dont have a nexus account)
Thanks