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 17, 2023
1 parent 7bbace7 commit 86d44f9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 90 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@ jobs:
with:
python-version: "3.12"

- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "stable"
cache: false

- name: Install Conan
run: pip install conan

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yam_ → .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ jobs:
with:
style: file

- name: Fail Fast
if: steps.linter.outputs.checks-failed > 0
run: exit 1
# - name: Fail Fast
# if: steps.linter.outputs.checks-failed > 0
# run: exit 1
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Artifacts
name: Release

on:
push:
tags:
- "v*.*.*"

jobs:
upload:
release:
runs-on: ${{ matrix.config.os }}

permissions:
Expand Down Expand Up @@ -49,12 +49,6 @@ jobs:
with:
python-version: "3.12"

- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "stable"
cache: false

- name: Install Conan
run: pip install conan

Expand Down Expand Up @@ -130,7 +124,7 @@ jobs:
run: |
Compress-Archive -LiteralPath 'Release/carimbo.exe' -DestinationPath "../artifacts/Windows.zip"
- name: Upload Artifacts
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
env:
Expand All @@ -139,75 +133,3 @@ jobs:
tag_name: ${{ github.event.inputs.tagName }}
prerelease: ${{ github.events.inputs.prerelease }}
files: artifacts/*

# - name: Upload Artifact
# uses: actions/upload-artifact@v3
# if: matrix.config.name == 'macOS' || matrix.config.name == 'Ubuntu'
# with:
# if-no-files-found: error
# name: ${{ matrix.config.name }}
# path: build/carimbo

# - name: Upload Artifact
# uses: actions/upload-artifact@v3
# if: matrix.config.name == 'Windows'
# with:
# if-no-files-found: error
# name: ${{ matrix.config.name }}
# path: build/Release/carimbo.exe

# - name: Upload WebAssembly Artifact
# uses: actions/upload-artifact@v3
# if: matrix.config.name == 'WebAssembly'
# with:
# if-no-files-found: error
# name: ${{ matrix.config.name }}
# path: |
# build/carimbo.js
# build/carimbo.wasm

# upload:
# needs: build
# runs-on: ubuntu-latest
# permissions:
# contents: write
# steps:
# - name: Download Artifact
# uses: actions/download-artifact@v3
# with:
# path: artifacts

# - name: Compress Artifacts
# run: |
# if [ -d macOS ]; then
# chmod +x macOS/carimbo
# tar -C macOS -czvf macOS.tar.gz --mode='a+rwx' carimbo
# rm -rf macOS
# fi

# if [ -d Ubuntu ]; then
# chmod +x Ubuntu/carimbo
# tar -C Ubuntu -czvf Ubuntu.tar.gz --mode='a+rwx' carimbo
# rm -rf Ubuntu
# fi

# if [ -d WebAssembly ]; then
# zip -jr WebAssembly.zip WebAssembly/carimbo.wasm WebAssembly/carimbo.js
# rm -rf WebAssembly
# fi

# if [ -d Windows ]; then
# zip -jr Windows.zip Windows/carimbo.exe
# rm -rf Windows
# fi
# working-directory: artifacts

# - name: Upload Artifacts
# 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 }}
# files: artifacts/*

0 comments on commit 86d44f9

Please sign in to comment.