From 9a4c1658fa12e463e9fc6c5720007c03e70c23d9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 11:16:20 +0200 Subject: Adding upstream version 20231210. Signed-off-by: Daniel Baumann --- .../.github/workflows/release.yaml | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 extensions/45/hibernate-status/.github/workflows/release.yaml (limited to 'extensions/45/hibernate-status/.github') diff --git a/extensions/45/hibernate-status/.github/workflows/release.yaml b/extensions/45/hibernate-status/.github/workflows/release.yaml new file mode 100644 index 0000000..80138f9 --- /dev/null +++ b/extensions/45/hibernate-status/.github/workflows/release.yaml @@ -0,0 +1,32 @@ +name: "Prepare GitHub release" + +on: + push: + +jobs: + zip: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: zip + run: | + sudo apt-get install make gettext + make zip-file + - name: Upload artifact + uses: actions/upload-artifact@v3 + with: + name: zip + path: "*.zip" + - name: Release (pre) + uses: softprops/action-gh-release@v1 + with: + files: "*.zip" + prerelease: true + if: contains(github.ref_name,'rc') && github.ref_type == 'tag' + - name: Release + uses: softprops/action-gh-release@v1 + with: + files: "*.zip" + if: "!contains(github.ref_name,'rc') && github.ref_type == 'tag'" -- cgit v1.2.3