Skip to content

Commit

Permalink
Update GH action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmcm committed Feb 29, 2024
1 parent ab194d7 commit 11f8062
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./x86_64-musl-deb/vopono_${{needs.quickcheck.outputs.version}}_amd64.deb
asset_name: 'vopono_${{needs.quickcheck.outputs.version}}_amd64.deb'
asset_name: 'vopono_${{needs.quickcheck.outputs.version}}-1_amd64.deb'
asset_content_type: application/vnd.debian.binary-package
- name: Upload armv7 deb Release Asset
uses: actions/upload-release-asset@v1
Expand All @@ -247,7 +247,7 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./armv7-deb/vopono_${{needs.quickcheck.outputs.version}}_armhf.deb
asset_name: 'vopono_${{needs.quickcheck.outputs.version}}_armhf.deb'
asset_name: 'vopono_${{needs.quickcheck.outputs.version}}-1_armhf.deb'
asset_content_type: application/vnd.debian.binary-package
- name: Upload armv5 deb Release Asset
uses: actions/upload-release-asset@v1
Expand All @@ -256,7 +256,7 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./armv5-deb/vopono_${{needs.quickcheck.outputs.version}}_armel.deb
asset_name: 'vopono_${{needs.quickcheck.outputs.version}}_armel.deb'
asset_name: 'vopono_${{needs.quickcheck.outputs.version}}-1_armel.deb'
asset_content_type: application/vnd.debian.binary-package
- name: Upload aarch64 deb Release Asset
uses: actions/upload-release-asset@v1
Expand All @@ -265,7 +265,7 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./aarch64-deb/vopono_${{needs.quickcheck.outputs.version}}_arm64.deb
asset_name: 'vopono_${{needs.quickcheck.outputs.version}}_arm64.deb'
asset_name: 'vopono_${{needs.quickcheck.outputs.version}}-1_arm64.deb'
asset_content_type: application/vnd.debian.binary-package
- name: Upload amd64 rpm fedora Release Asset
uses: actions/upload-release-asset@v1
Expand Down
2 changes: 2 additions & 0 deletions vopono_core/src/network/openvpn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ impl OpenVpn {
File::create(&log_file_str)?;
}

// TODO: Check config file for up and down script entries and warn on their presence

let config_file_path = config_file.canonicalize().context("Invalid path given")?;
set_config_permissions()?;
info!("Launching OpenVPN...");
Expand Down

0 comments on commit 11f8062

Please sign in to comment.