Skip to content

Commit

Permalink
actions/checkout@v3 (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
meisenzahl committed Jan 11, 2023
1 parent 416efda commit 5b59592
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 25 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up QEMU for aarch64 emulation
if: ${{ matrix.arch != 'x86_64' }}
Expand All @@ -52,7 +52,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Lint
run: io.elementary.vala-lint -d .
30 changes: 19 additions & 11 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

name: Merge

on:
Expand All @@ -24,7 +23,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up QEMU for aarch64 emulation
if: ${{ matrix.arch != 'x86_64' }}
Expand Down Expand Up @@ -52,15 +51,24 @@ jobs:

gettext:
name: Gettext
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container:
image: elementary/docker:next-unstable

steps:
- name: Checkout
uses: actions/checkout@v1 # Avoid an error when pushing
- name: Install git
run: |
apt-get update
apt-get install git -y
- name: Clone repository
uses: actions/checkout@v3
with:
token: ${{ secrets.GIT_USER_TOKEN }}

- name: Gettext
uses: elementary/actions/gettext-template@master
env:
GIT_USER_TOKEN: "${{ secrets.GIT_USER_TOKEN }}"
GIT_USER_NAME: "elementaryBot"
GIT_USER_EMAIL: "builds@elementary.io"
- name: Update Translation Files
uses: elementary/actions/gettext-template@next
env:
GIT_USER_TOKEN: ${{ secrets.GIT_USER_TOKEN }}
GIT_USER_NAME: "elementaryBot"
GIT_USER_EMAIL: "builds@elementary.io"
24 changes: 12 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ on:
types: closed
jobs:
release:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true && true == contains(join(github.event.pull_request.labels.*.name), 'Release')
steps:
- uses: actions/checkout@v1
- uses: elementary/actions/release@master
env:
GIT_USER_TOKEN: "${{ secrets.GIT_USER_TOKEN }}"
GIT_USER_NAME: "elementaryBot"
GIT_USER_EMAIL: "builds@elementary.io"
with:
release_branch: 'odin'
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true && true == contains(join(github.event.pull_request.labels.*.name), 'Release')
steps:
- uses: actions/checkout@v3
- uses: elementary/actions/release@master
env:
GIT_USER_TOKEN: "${{ secrets.GIT_USER_TOKEN }}"
GIT_USER_NAME: "elementaryBot"
GIT_USER_EMAIL: "builds@elementary.io"
with:
release_branch: "odin"

deploy_flatpak:
name: Deploy Flatpak
Expand All @@ -36,7 +36,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up QEMU for aarch64 emulation
if: ${{ matrix.arch != 'x86_64' }}
Expand Down

0 comments on commit 5b59592

Please sign in to comment.