Skip to content

Commit

Permalink
build: Switch to using stable hydrapp release tags
Browse files Browse the repository at this point in the history
Signed-off-by: Felicitas Pojtinger <felicitas@pojtinger.com>
  • Loading branch information
pojntfx committed Aug 23, 2024
1 parent ce32e99 commit eb5ec4e
Showing 1 changed file with 22 additions and 20 deletions.
42 changes: 22 additions & 20 deletions .github/workflows/hydrapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,77 +19,77 @@ jobs:
src: .
pkg: .
exclude: deb|dmg|flatpak|msi|rpm|binaries|tests
tag: main
tag: latest
dst: out/*
runner: depot-ubuntu-22.04-32
- id: hydrapp-deb-amd64.io.loopholelabs.latensee
src: .
pkg: .
exclude: deb/arm64|apk|dmg|flatpak|msi|rpm|binaries|tests
tag: main
tag: latest
dst: out/*
runner: depot-ubuntu-22.04-32
- id: hydrapp-deb-arm64.io.loopholelabs.latensee
src: .
pkg: .
exclude: deb/amd64|apk|dmg|flatpak|msi|rpm|binaries|tests
tag: main
tag: latest
dst: out/*
runner: depot-ubuntu-22.04-arm-32
- id: hydrapp-dmg.io.loopholelabs.latensee
src: .
pkg: .
exclude: apk|deb|flatpak|msi|rpm|binaries|tests
tag: main
tag: latest
dst: out/*
runner: depot-ubuntu-22.04-32
- id: hydrapp-flatpak-amd64.io.loopholelabs.latensee
src: .
pkg: .
exclude: apk|deb|flatpak/arm64|dmg|msi|rpm|binaries|tests
tag: main
tag: latest
dst: out/*
runner: depot-ubuntu-22.04-32
- id: hydrapp-flatpak-arm64.io.loopholelabs.latensee
src: .
pkg: .
exclude: apk|deb|flatpak/amd64|dmg|msi|rpm|binaries|tests
tag: main
tag: latest
dst: out/*
runner: depot-ubuntu-22.04-arm-32
- id: hydrapp-msi.io.loopholelabs.latensee
src: .
pkg: .
exclude: apk|deb|flatpak|dmg|rpm|binaries|tests
tag: main
tag: latest
dst: out/*
runner: depot-ubuntu-22.04-32
- id: hydrapp-rpm-amd64.io.loopholelabs.latensee
src: .
pkg: .
exclude: apk|deb|flatpak|dmg|rpm/arm64|msi|binaries|tests
tag: main
tag: latest
dst: out/*
runner: depot-ubuntu-22.04-32
- id: hydrapp-rpm-arm64.io.loopholelabs.latensee
src: .
pkg: .
exclude: apk|deb|flatpak|dmg|rpm/amd64|msi|binaries|tests
tag: main
tag: latest
dst: out/*
runner: depot-ubuntu-22.04-arm-32
- id: hydrapp-binaries.io.loopholelabs.latensee
src: .
pkg: .
exclude: apk|deb|flatpak|dmg|msi|rpm|tests
tag: main
tag: latest
dst: out/*
runner: depot-ubuntu-22.04-32
- id: hydrapp-tests.io.loopholelabs.latensee
src: .
pkg: .
exclude: apk|deb|flatpak|dmg|msi|rpm|binaries
tag: main
tag: latest
dst: out/*
runner: depot-ubuntu-22.04-32

Expand All @@ -107,7 +107,7 @@ jobs:
uses: docker/setup-buildx-action@v3
- name: Set up hydrapp
run: |
curl -L -o /tmp/hydrapp "https://github.com/pojntfx/hydrapp/releases/download/release-main/hydrapp.linux-$(uname -m)"
curl -L -o /tmp/hydrapp "https://github.com/pojntfx/hydrapp/releases/latest/download/hydrapp.linux-$(uname -m)"
sudo install /tmp/hydrapp /usr/local/bin
- name: Setup Java/APK keystore
working-directory: .
Expand Down Expand Up @@ -141,15 +141,15 @@ jobs:
path: ${{ matrix.target.dst }}

publish-linux:
runs-on: depot-ubuntu-22.04-32
runs-on: ubuntu-latest
permissions:
contents: write
pages: write
id-token: write
needs: build-linux
environment:
name: github-pages
url: ${{ steps.publish.outputs.page_url }}
url: ${{ steps.setup.outputs.base_url }}

steps:
- name: Checkout
Expand All @@ -174,11 +174,13 @@ jobs:
cd /tmp/github-pages/
tree --timefmt '%Y-%m-%dT%H:%M:%SZ' -T 'hydrapp Repositories' --du -h -D -H . -o 'index.html'
- name: Setup GitHub Pages
id: setup
uses: actions/configure-pages@v5
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: /tmp/github-pages/
- name: Publish to GitHub pages
id: publish
uses: actions/deploy-pages@v4
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: /tmp/github-pages/
keep_files: true
user_name: github-actions[bot]
user_email: github-actions[bot]@users.noreply.github.com

0 comments on commit eb5ec4e

Please sign in to comment.