Skip to content

Commit

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

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install Dependencies
run: |
apt update
Expand All @@ -32,6 +32,6 @@ jobs:
image: valalang/lint

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Lint
run: io.elementary.vala-lint -d .
25 changes: 20 additions & 5 deletions .github/workflows/gettext.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,29 @@
name: Gettext Updates

on:
push:
branches: master

jobs:
gettext_template:
runs-on: ubuntu-latest
build:
runs-on: ubuntu-22.04
container:
image: elementary/docker:next-unstable

steps:
- uses: actions/checkout@v1
- uses: elementary/actions/gettext-template@master
- 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: Update Translation Files
uses: elementary/actions/gettext-template@next
env:
GIT_USER_TOKEN: "${{ secrets.GIT_USER_TOKEN }}"
GIT_USER_TOKEN: ${{ secrets.GIT_USER_TOKEN }}
GIT_USER_NAME: "elementaryBot"
GIT_USER_EMAIL: "builds@elementary.io"
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ 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: 'horus'
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: "horus"

0 comments on commit f88cca0

Please sign in to comment.