Skip to content

Workflow file for this run

name: Zip and Release
on:
push:
paths:
- 'wikiartwallpaper@cankurttekin/**'
branches:
- main
permissions:
contents: write
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Extract version from metadata.json
id: extract_version
run: |
VERSION=$(jq -r '.version' wikiartwallpaper@cankurttekin/metadata.json)
echo "RELEASE_VERSION=$VERSION" >> $GITHUB_ENV
- name: Zip the wikiartwallpaper@cankurttekin directory
run: zip -r [email protected] wikiartwallpaper@cankurttekin
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
tag_name: v${{ env.RELEASE_VERSION }}
body: "This release was automatically generated, might be untested and only FOR GNOME 45 & 46."
files: [email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}