diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c220317..5c8b3fd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,6 +27,9 @@ jobs: - name: Run build run: make + - name: Tar files + run: tar -cvf virtuallan-binary.tar virtuallan virtuallan.exe + - name: Create Release id: create_release uses: actions/create-release@v1 @@ -39,21 +42,12 @@ jobs: prerelease: false - name: Upload Release Asset linux - id: upload-release-asset-linux + id: upload-release-asset uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - asset_path: ./virtuallan - asset_name: virtuallan - - - name: Upload Release Asset windows - id: upload-release-asset-windows - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - asset_path: ./virtuallan.exe - asset_name: virtuallan.exe \ No newline at end of file + asset_path: ./virtuallan-binary.tar + asset_name: virtuallan-binary.tar + asset_content_type: application/x-tar