From ed31a2f61e01a3c97053bc551f1e3802c25ef306 Mon Sep 17 00:00:00 2001 From: "K.B.Dharun Krishna" Date: Thu, 9 May 2024 19:15:09 +0530 Subject: [PATCH] chore: bump actions, image to G46, add dependabot config Signed-off-by: K.B.Dharun Krishna --- .github/dependabot.yml | 6 ++++++ .github/workflows/ci.yml | 7 ++++--- .github/workflows/publish-release.yml | 8 +++++--- 3 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..8ac6b8c --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index efee5f1..047dc2a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,8 +1,9 @@ +name: CI on: push: branches: [main] pull_request: -name: CI + concurrency: group: release-${{ github.sha }} jobs: @@ -10,7 +11,7 @@ jobs: name: Flatpak runs-on: ubuntu-latest container: - image: bilelmoussaoui/flatpak-github-actions:gnome-45 + image: bilelmoussaoui/flatpak-github-actions:gnome-46 options: --privileged steps: - name: Checkout @@ -53,7 +54,7 @@ jobs: run: iscc ".\_build\windows\Cartridges.iss" - name: Upload Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Windows Installer path: _build/windows/Output/Cartridges Setup.exe diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index e118484..b702ac0 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -1,10 +1,12 @@ +name: Publish Release on: push: tags: "*" -name: Publish Release + concurrency: group: release-${{ github.sha }} + jobs: publish-release: name: Publish Release @@ -14,7 +16,7 @@ jobs: uses: actions/checkout@v4 - name: Download workflow artifact - uses: dawidd6/action-download-artifact@v3.0.0 + uses: dawidd6/action-download-artifact@v3.1.4 with: workflow: ci.yml commit: ${{ github.sha }} @@ -37,7 +39,7 @@ jobs: run: echo tag_name=${GITHUB_REF#refs/tags/} >> $GITHUB_OUTPUT - name: Publish release - uses: softprops/action-gh-release@v0.1.15 + uses: softprops/action-gh-release@v2.0.5 with: files: Windows Installer/Cartridges Setup.exe fail_on_unmatched_files: true