4.4.1-1 #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Package and Release | |
on: [push] | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Run Docker command | |
run: docker run --rm -v ${PWD}:/protonvpn-bin archlinux su - -c"/protonvpn-bin/build.sh" | |
- name: Archive dist folder | |
uses: actions/upload-artifact@v4 | |
with: | |
name: protonvpn-bin | |
path: protonvpn-bin-*.tar.zst | |
- name: Create Release and Upload Asset | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
body_path: checksums.txt | |
files: ./protonvpn-bin-*.tar.zst |