From 3891e8e04d721887856f416dc0ff7ff90f0a2342 Mon Sep 17 00:00:00 2001 From: Sunny Chung Date: Fri, 3 Nov 2023 23:49:17 +0800 Subject: [PATCH] fix github actions --- .github/workflows/build-jetpack-compose-app.yaml | 1 - .github/workflows/{release.yml => release.yaml} | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{release.yml => release.yaml} (95%) diff --git a/.github/workflows/build-jetpack-compose-app.yaml b/.github/workflows/build-jetpack-compose-app.yaml index 13b00dfa..1aed1b8d 100644 --- a/.github/workflows/build-jetpack-compose-app.yaml +++ b/.github/workflows/build-jetpack-compose-app.yaml @@ -4,7 +4,6 @@ on: jobs: build-jetpack-compose-app: steps: - - uses: actions/checkout@v4 - uses: actions/setup-java@v3 with: distribution: 'corretto' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yaml similarity index 95% rename from .github/workflows/release.yml rename to .github/workflows/release.yaml index 840db43f..f3c5bbb9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yaml @@ -21,6 +21,7 @@ jobs: build-ubuntu: runs-on: ubuntu-20.04 steps: + - uses: actions/checkout@v4 - uses: ./github/workflows/build-jetpack-compose-app.yaml - run: pushd ./build/compose/binaries/main/app && ls -al && tar -cvzf "app.tar.gz" "Hello HTTP" && mv "app.tar.gz" "../../../../../HelloHTTP-${{ github.ref_name }}-ubuntu-${{ runner.arch }}.tar.gz" && popd - uses: softprops/action-gh-release@v1