ci: adopt reusable workflows from `named-data/actions`

Switch source archive (tarball) to xz compression

Change-Id: I3e1963bc1f101b7815f1919b4a16da973261f158
diff --git a/wscript b/wscript
index 93e19db..6beff79 100644
--- a/wscript
+++ b/wscript
@@ -22,9 +22,9 @@
 from waflib import Context, Logs, Utils
 import os, subprocess
 
-VERSION = "0.6.0"
-APPNAME = "nlsr"
-GIT_TAG_PREFIX = "NLSR-"
+VERSION = '0.6.0'
+APPNAME = 'nlsr'
+GIT_TAG_PREFIX = 'NLSR-'
 
 def options(opt):
     opt.load(['compiler_cxx', 'gnu_dirs'])
@@ -257,7 +257,9 @@
         Logs.warn('%s is not writable (%s)' % (versionFile, e.strerror))
 
 def dist(ctx):
+    ctx.algo = 'tar.xz'
     version(ctx)
 
 def distcheck(ctx):
+    ctx.algo = 'tar.xz'
     version(ctx)