diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a5a60d9..574a8cf 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 diff --git a/.github/workflows/lint.yam_ b/.github/workflows/lint.yaml similarity index 94% rename from .github/workflows/lint.yam_ rename to .github/workflows/lint.yaml index 4c7e699..f4a1591 100644 --- a/.github/workflows/lint.yam_ +++ b/.github/workflows/lint.yaml @@ -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 diff --git a/.github/workflows/artifacts.yaml b/.github/workflows/release.yaml similarity index 63% rename from .github/workflows/artifacts.yaml rename to .github/workflows/release.yaml index 445f56e..3211b4d 100644 --- a/.github/workflows/artifacts.yaml +++ b/.github/workflows/release.yaml @@ -1,4 +1,4 @@ -name: Artifacts +name: Release on: push: @@ -6,7 +6,7 @@ on: - "v*.*.*" jobs: - upload: + release: runs-on: ${{ matrix.config.os }} permissions: @@ -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 @@ -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: @@ -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/*