Skip to content

fix: update skype definition #5

fix: update skype definition

fix: update skype definition #5

Workflow file for this run

name: Build and Release
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build-and-release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Compile Services
run: go run main.go
- name: Upload Compiled Services
uses: actions/upload-artifact@v4
with:
name: services-compiled
path: services.json
retention-days: 90
- name: Create Release and Upload Asset
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
VERSION=$(date +%Y%m%d-%H%M%S)
TAG_NAME="release-${VERSION}"
echo "Creating release ${TAG_NAME}"
gh release create "${TAG_NAME}" \
--title "Services ${VERSION}" \
--notes "Combined service definitions" \
--latest \
services.json