Skip to content

Commit

Permalink
Work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
skhaz committed Nov 16, 2023
1 parent 898c086 commit 293cb8e
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ jobs:

matrix:
config:
- name: macOS
binary: build/carimbo
os: macos-latest
# - name: macOS
# binary: build/carimbo
# os: macos-latest
- name: Ubuntu
binary: build/carimbo
os: ubuntu-latest
# - name: WebAssembly
# binary: build/carimbo.wasm
# script: build/carimbo.js
# os: ubuntu-latest
- name: Windows
binary: build/carimbo.exe
os: windows-latest
# - name: Windows
# binary: build/carimbo.exe
# os: windows-latest

steps:
- name: Checkout
Expand Down Expand Up @@ -149,18 +149,24 @@ jobs:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
repository-projects: write
contents: write
steps:
- name: Download artifact
uses: actions/download-artifact@v3
with:
path: artifacts
- name: Create Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# tag_name: ${{ github.event.inputs.tagName }}
# prerelease: ${{ github.events.inputs.prerelease }}
draft: true
# body_path: ${{ github.workspace }}/GITHUB_CHANGELOG.md
files: artifacts/*
# deploy:
# name: ${{ github.event.inputs.releaseName }}
# environment:
# name: github-pages
# url: ${{ steps.deployment.outputs.page_url }}
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

name: Release

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
release-type: simple
package-name: carimbo

0 comments on commit 293cb8e

Please sign in to comment.