Skip to content

Commit

Permalink
actions/checkout@v3 (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
meisenzahl committed Jan 10, 2023
1 parent 2d10bdf commit b013b28
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 33 deletions.
23 changes: 19 additions & 4 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: main

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

steps:
- uses: actions/checkout@v1
- uses: elementary/actions/gettext-template@next
- 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: "[email protected]"
34 changes: 16 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,29 @@ on:

jobs:
build:

runs-on: ubuntu-latest

container:
image: elementary/docker:next-unstable

steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: |
apt update
apt install -y libgee-0.8-dev libglib2.0-dev libgranite-7-dev libgtk-4-dev libadwaita-1-dev meson valac
- name: Build
run: |
meson build -Dexample=true
ninja -C build install
- uses: actions/checkout@v3
- name: Install Dependencies
run: |
apt update
apt install -y libgee-0.8-dev libglib2.0-dev libgranite-7-dev libgtk-4-dev libadwaita-1-dev meson valac
- name: Build
run: |
meson build -Dexample=true
ninja -C build install
lint:

runs-on: ubuntu-latest

container:
image: valalang/lint

steps:
- uses: actions/checkout@v1
- name: Lint
run: io.elementary.vala-lint -d .
- uses: actions/checkout@v3
- name: Lint
run: io.elementary.vala-lint -d .
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: "[email protected]"
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: "[email protected]"
with:
release_branch: "horus"

0 comments on commit b013b28

Please sign in to comment.