GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — android-pass-store/.github/workflows/release.yml at main · Zangetsu101/android-pass-store 115 lines (96 loc) · 3.21 KB / Copy pathrelease.ymlFile metadata and controls115 lines (96 loc) · 3.21 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 name: Release # Push a tag such as v0.3.0 to start a release. The tag must match # versionName in app/build.gradle.kts. The workflow builds a signed release # APK and creates a draft GitHub release. Edit the notes, then publish it. on: push: tags: - "v*" permissions: contents: read concurrency: group: release-${{ github.ref }} cancel-in-progress: false jobs: check: name: Check version runs-on: ubuntu-latest timeout-minutes: 5 # Make the names here, not in build-apk.yml. GitHub drops a job output # that contains a secret value, and the build job reads the signing secrets. outputs: apk: ${{ steps.version.outputs.apk }} artifact: ${{ steps.version.outputs.artifact }} version-code: ${{ steps.version.outputs.version-code }} steps: - name: Check out repository uses: actions/checkout@v7 - name: Check that the tag matches versionName id: version run: | tag="${GITHUB_REF_NAME}" version="${tag#v}" version_name="$(.github/scripts/version-name.sh)" if [ "$version" != "$version_name" ]; then echo "::error::Tag $tag does not match versionName \"$version_name\" in app/build.gradle.kts." exit 1 fi { echo "apk=pass-android-$version.apk" echo "artifact=pass-android-$version" # The same YYMMDDHH scheme as nightly builds, so this release upgrades them. echo "version-code=$(date -u +%y%m%d%H)" } >> "$GITHUB_OUTPUT" build: name: Build APK needs: check uses: ./.github/workflows/build-apk.yml with: apk-name: ${{ needs.check.outputs.apk }} version-code: ${{ needs.check.outputs.version-code }} secrets: inherit release: name: Draft release needs: [check, build] runs-on: ubuntu-latest timeout-minutes: 10 permissions: contents: write steps: - name: Download APK uses: actions/download-artifact@v8 with: name: ${{ needs.check.outputs.artifact }} - name: Create draft release env: GH_TOKEN: ${{ github.token }} GH_REPO: ${{ github.repository }} TAG: ${{ github.ref_name }} APK: ${{ needs.check.outputs.apk }} run: | checksum="$(cat "$APK.sha256")" cat > notes.md <<EOF ## What's changed TODO: write the release notes. ## Download / Install 1. Download \`$APK\` from the release assets below. 2. Open the APK on your Android device. 3. If prompted, allow installation from this source. 4. Install the app. Android may show a warning because this APK is installed outside the Play Store. ## Checksum SHA-256: \`\`\`text $checksum \`\`\` Optional: verify after download: \`\`\`bash sha256sum $APK \`\`\` EOF # The in-app updater reads release-meta.json. Keep it with the APK. gh release create "$TAG" "$APK" "$APK.sha256" release-meta.json \ --draft \ --verify-tag \ --title "$TAG" \ --notes-file notes.md |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |