@@ -19,15 +19,24 @@ jobs:
1919 go-version : 1.17.x
2020 - name : Build and pack for linux-amd64
2121 run : GOOS=linux GOARCH=amd64 go build -o nmap-formatter && tar -czvf nmap-formatter-linux-amd64.tar.gz nmap-formatter
22+ - name : Build and pack for linux-arm64
23+ run : GOOS=linux GOARCH=arm64 go build -o nmap-formatter && tar -czvf nmap-formatter-linux-arm64.tar.gz nmap-formatter
2224 - name : Build and pack for windows-amd64
2325 run : GOOS=windows GOARCH=amd64 go build -o nmap-formatter.exe && zip nmap-formatter-windows-amd64.zip nmap-formatter.exe
26+ - name : Build and pack for windows-arm64
27+ run : GOOS=windows GOARCH=arm64 go build -o nmap-formatter.exe && zip nmap-formatter-windows-arm64.zip nmap-formatter.exe
2428 - name : Build and pack for macos-amd64
2529 run : GOOS=darwin GOARCH=amd64 go build -o nmap-formatter && zip nmap-formatter-darwin-amd64.zip nmap-formatter
30+ - name : Build and pack for macos-arm64
31+ run : GOOS=darwin GOARCH=arm64 go build -o nmap-formatter && zip nmap-formatter-darwin-arm64.zip nmap-formatter
2632 - name : Upload release files
2733 if : startsWith(github.ref, 'refs/tags/')
2834 run : |
2935 gh release upload ${{ steps.get_version.outputs.VERSION }} nmap-formatter-linux-amd64.tar.gz --clobber
3036 gh release upload ${{ steps.get_version.outputs.VERSION }} nmap-formatter-windows-amd64.zip --clobber
3137 gh release upload ${{ steps.get_version.outputs.VERSION }} nmap-formatter-darwin-amd64.zip --clobber
38+ gh release upload ${{ steps.get_version.outputs.VERSION }} nmap-formatter-linux-arm64.tar.gz --clobber
39+ gh release upload ${{ steps.get_version.outputs.VERSION }} nmap-formatter-windows-arm64.zip --clobber
40+ gh release upload ${{ steps.get_version.outputs.VERSION }} nmap-formatter-darwin-arm64.zip --clobber
3241 env :
3342 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments