Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
IamRezaMousavi committed Mar 17, 2024
1 parent 1b57717 commit e64906e
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 36 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CD

on:
push:
tags:
- '*'

jobs:
cd:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Install Dependencies
run: |
sudo apt update -y && \
sudo apt install -y libglib2.0-bin gettext
- name: Build Project
run: |
make zip-file
- name: Create Release
uses: ncipollo/release-action@v1
with:
name: Version ${{ github.ref_name }}
artifacts: "[email protected]*.zip"
4 changes: 2 additions & 2 deletions .github/workflows/check-lint.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Check Lint
name: CI

on: [push, pull_request]

jobs:
checks:
ci:
runs-on: ubuntu-latest

steps:
Expand Down
30 changes: 0 additions & 30 deletions .github/workflows/create-release.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# temp directory
tmp/

# Locale binary files
*.mo

# Npm Dependency directories
node_modules/

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</p>
</p>

[![Check Lint](https://github.com/IamRezaMousavi/persian-gnome-calendar-extension/actions/workflows/check-lint.yml/badge.svg)](https://github.com/IamRezaMousavi/persian-gnome-calendar-extension/actions/workflows/check-lint.yml) ![Gnome-Downloads](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fextensions.gnome.org%2Fextension-query%2F%3Fsearch%3Dpersian-calendar%40iamrezamousavi.gmail.com&query=%24.extensions%5B%3F(%40.uuid%20%3D%3D%20%22persian-calendar%40iamrezamousavi.gmail.com%22)%5D.downloads&style=flat&logo=gnome&label=Gnome.org%20downloads) ![Github-Downloads](https://img.shields.io/github/downloads/IamRezaMousavi/persian-gnome-calendar-extension/total) ![Contributors](https://img.shields.io/github/contributors/IamRezaMousavi/persian-gnome-calendar-extension?color=dark-green) ![Issues](https://img.shields.io/github/issues/IamRezaMousavi/persian-gnome-calendar-extension) ![License](https://img.shields.io/github/license/IamRezaMousavi/persian-gnome-calendar-extension)
[![CI](https://github.com/IamRezaMousavi/persian-gnome-calendar-extension/actions/workflows/ci.yml/badge.svg)](https://github.com/IamRezaMousavi/persian-gnome-calendar-extension/actions/workflows/ci.yml) ![Gnome-Downloads](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fextensions.gnome.org%2Fextension-query%2F%3Fsearch%3Dpersian-calendar%40iamrezamousavi.gmail.com&query=%24.extensions%5B%3F(%40.uuid%20%3D%3D%20%22persian-calendar%40iamrezamousavi.gmail.com%22)%5D.downloads&style=flat&logo=gnome&label=Gnome.org%20downloads) ![Github-Downloads](https://img.shields.io/github/downloads/IamRezaMousavi/persian-gnome-calendar-extension/total) ![Contributors](https://img.shields.io/github/contributors/IamRezaMousavi/persian-gnome-calendar-extension?color=dark-green) ![Issues](https://img.shields.io/github/issues/IamRezaMousavi/persian-gnome-calendar-extension) ![License](https://img.shields.io/github/license/IamRezaMousavi/persian-gnome-calendar-extension)

## Table Of Contents

Expand Down

0 comments on commit e64906e

Please sign in to comment.