Skip to content

Commit

Permalink
Update Actions (#1176)
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit authored Jan 8, 2023
1 parent 1fc88d0 commit fe11c50
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
name: CI

on: [push, pull_request]
on:
pull_request:
types:
- opened
- reopened
- synchronize

jobs:
build:

runs-on: ubuntu-latest

container:
image: elementary/docker:unstable
image: elementary/docker:next-unstable

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Install Dependencies
run: |
apt update
apt install -y librsvg2-bin meson x11-apps
- name: Build
run: |
meson build
ninja -C build
ninja -C build install
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
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: actions/checkout@v3
- uses: elementary/actions/release@master
env:
GIT_USER_TOKEN: "${{ secrets.GIT_USER_TOKEN }}"
Expand Down

0 comments on commit fe11c50

Please sign in to comment.