Skip to content

Merge branch 'develop' of https://github.com/maxnatamo/fetcharr into … #10

Merge branch 'develop' of https://github.com/maxnatamo/fetcharr into …

Merge branch 'develop' of https://github.com/maxnatamo/fetcharr into … #10

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Release and pre-release
on:
push:
branches:
- main
- develop
jobs:
release:
name: Build and release
runs-on: ubuntu-latest
permissions:
packages: write
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Login to ghcr.io
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and release
run: ./build.cmd Release ${{ github.ref == 'refs/heads/develop' && '--pre-release' || '' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}