From 422e0f3d564cece4440e09bcaeda8179151e6718 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Mon, 18 Apr 2022 22:58:27 -0700 Subject: [PATCH] ci: more alpine tweaks --- .github/workflows/gen_alpine3.12_continuous.yml | 3 +++ .github/workflows/gen_alpine3.13_continuous.yml | 3 +++ .github/workflows/gen_alpine3.14_continuous.yml | 3 +++ .github/workflows/gen_alpine3.15_continuous.yml | 3 +++ ci/generate-workflows.py | 7 +++++++ 5 files changed, 19 insertions(+) diff --git a/.github/workflows/gen_alpine3.12_continuous.yml b/.github/workflows/gen_alpine3.12_continuous.yml index 882a6c249..55c636f7d 100644 --- a/.github/workflows/gen_alpine3.12_continuous.yml +++ b/.github/workflows/gen_alpine3.12_continuous.yml @@ -80,6 +80,9 @@ jobs: - name: "Package" shell: bash run: "bash ci/deploy.sh" + - name: "Move APKs" + shell: bash + run: "mv ~/packages/x86_64/*.apk ." - name: "Upload artifact" uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/gen_alpine3.13_continuous.yml b/.github/workflows/gen_alpine3.13_continuous.yml index 535b4a42d..1c5ec8d9a 100644 --- a/.github/workflows/gen_alpine3.13_continuous.yml +++ b/.github/workflows/gen_alpine3.13_continuous.yml @@ -80,6 +80,9 @@ jobs: - name: "Package" shell: bash run: "bash ci/deploy.sh" + - name: "Move APKs" + shell: bash + run: "mv ~/packages/x86_64/*.apk ." - name: "Upload artifact" uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/gen_alpine3.14_continuous.yml b/.github/workflows/gen_alpine3.14_continuous.yml index bb2e16b8a..4fccece45 100644 --- a/.github/workflows/gen_alpine3.14_continuous.yml +++ b/.github/workflows/gen_alpine3.14_continuous.yml @@ -80,6 +80,9 @@ jobs: - name: "Package" shell: bash run: "bash ci/deploy.sh" + - name: "Move APKs" + shell: bash + run: "mv ~/packages/x86_64/*.apk ." - name: "Upload artifact" uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/gen_alpine3.15_continuous.yml b/.github/workflows/gen_alpine3.15_continuous.yml index 05beee446..9ced08a14 100644 --- a/.github/workflows/gen_alpine3.15_continuous.yml +++ b/.github/workflows/gen_alpine3.15_continuous.yml @@ -80,6 +80,9 @@ jobs: - name: "Package" shell: bash run: "bash ci/deploy.sh" + - name: "Move APKs" + shell: bash + run: "mv ~/packages/x86_64/*.apk ." - name: "Upload artifact" uses: actions/upload-artifact@v3 with: diff --git a/ci/generate-workflows.py b/ci/generate-workflows.py index acf6fb684..400a65b2f 100755 --- a/ci/generate-workflows.py +++ b/ci/generate-workflows.py @@ -434,6 +434,13 @@ cargo build --all --release""", f"mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-{self.name}.rpm", ) ) + elif "alpine" in self.name: + steps.append( + RunStep( + "Move APKs", + f"mv ~/packages/x86_64/*.apk .", + ) + ) patterns = self.asset_patterns() glob = " ".join(patterns)