From 18dfc3a7a9d385758d93eb9d5c125317bfe799e4 Mon Sep 17 00:00:00 2001 From: Tulili Date: Sun, 18 Feb 2024 01:29:20 -0300 Subject: [PATCH 1/2] feat: flakehub github action --- .github/workflows/flakehub-release.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/flakehub-release.yml diff --git a/.github/workflows/flakehub-release.yml b/.github/workflows/flakehub-release.yml new file mode 100644 index 0000000..3567218 --- /dev/null +++ b/.github/workflows/flakehub-release.yml @@ -0,0 +1,16 @@ +on: + push: + tags: + - "*.*.*" +jobs: + publish: + runs-on: "ubuntu-latest" + permissions: + id-token: "write" + contents: "read" + steps: + - uses: "actions/checkout@v4" + - uses: "DeterminateSystems/nix-installer-action@main" + - uses: "DeterminateSystems/flakehub-push@main" + with: + visibility: "public" From fa09332c7e167de98b899a00caeb67324a5e04bf Mon Sep 17 00:00:00 2001 From: Tulili Date: Mon, 19 Feb 2024 00:24:06 -0300 Subject: [PATCH 2/2] refactor(flakehub): move to rolling model --- .github/workflows/flakehub-release.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/flakehub-release.yml b/.github/workflows/flakehub-release.yml index 3567218..f246c25 100644 --- a/.github/workflows/flakehub-release.yml +++ b/.github/workflows/flakehub-release.yml @@ -1,16 +1,21 @@ + +name: "Publish every Git push to main to FlakeHub" on: push: - tags: - - "*.*.*" + branches: + - "main" jobs: - publish: + flakehub-publish: runs-on: "ubuntu-latest" permissions: id-token: "write" contents: "read" steps: - - uses: "actions/checkout@v4" + - uses: "actions/checkout@v3" - uses: "DeterminateSystems/nix-installer-action@main" - uses: "DeterminateSystems/flakehub-push@main" with: + name: "ublue-os/bext" + rolling: true visibility: "public" +