diff --git a/.github/workflows/docs.yml b/.github/workflows/build-docs.yml similarity index 91% rename from .github/workflows/docs.yml rename to .github/workflows/build-docs.yml index ee36a37..a731d2f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/build-docs.yml @@ -1,9 +1,9 @@ -name: build +name: build-docs on: push: branches: [main] jobs: - docs: + build-docs: runs-on: ubuntu-latest permissions: contents: write diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fe15871..0bdb294 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: build +name: release on: release: types: [published] @@ -20,6 +20,10 @@ jobs: id: release env: GITHUB_TOKEN: ${{ github.token }} + - uses: svenstaro/upload-release-action@v2 + with: + file: example/android/app/build/outputs/apk/release/app-arm64-v8a-release.apk + asset_name: example.apk - uses: actions/setup-node@v3 with: registry-url: "https://registry.npmjs.org" @@ -27,7 +31,3 @@ jobs: - run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - uses: svenstaro/upload-release-action@v2 - with: - file: example/android/app/build/outputs/apk/release/app-arm64-v8a-release.apk - asset_name: example.apk