Skip to content

Commit

Permalink
💚 ci(all): update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Ángel Albiñana Espejo authored and Ángel Albiñana Espejo committed Mar 18, 2024
1 parent e569cc3 commit 49fa8d9
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 12 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/release-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
# - platform: 'macos-latest'
- platform: 'ubuntu-22.04'
- platform: 'windows-latest'
timeout-minutes: 18
timeout-minutes: 20
runs-on: ${{ matrix.settings.platform }}
env:
TAG_VERSION: ${{ github.event.client_payload.app_version }}
Expand All @@ -42,9 +42,17 @@ jobs:
uses: actions/checkout@v4

- name: 🦀 Rust setup
if: matrix.settings.platform == 'macos-latest'
uses: dtolnay/rust-toolchain@stable
with:
target: 'aarch64-apple-darwin'

- name: 🦀 Rust setup
if: matrix.settings.platform != 'macos-latest'
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable

- name: 🦀 Rust cache
uses: swatinem/rust-cache@v2
with:
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ env:
jobs:
update:
name: 🚀 Release
runs-on: ubuntu-22.04
runs-on: macos-13 # for safari build
steps:

#########################################################################
Expand Down Expand Up @@ -275,6 +275,7 @@ jobs:
uses: ncipollo/release-action@v1
with:
tag: "${{ steps.updated.outputs.core_version }}"
name: '${{ steps.pkg.outputs.name }} v${{ steps.updated.outputs.core_version }}'
draft: false
prerelease: false
allowUpdates: true
Expand Down Expand Up @@ -321,20 +322,22 @@ jobs:
#########################################################################
# EXTS - PUBLISH IN FIREFOX WEB STORE
#########################################################################


# @see https://github.com/marketplace/actions/publish-firefox-add-on
- name: 🧩🦊 Upload FIREFOX extension
if: steps.updated.outputs.core_version != ''
uses: trmcnvn/firefox-addon@v1
uses: wdzeng/firefox-addon@v1
with:
# uuid is only necessary when updating an existing addon,
# omitting it will create a new addon
uuid: '${{ steps.pkg.outputs.firefox_storeId }}'
xpi: "packages/exts/dist/exts/${{ steps.pkg.outputs.id }}-firefox.zip"
addon-guid: '${{ steps.pkg.outputs.firefox_storeId }}'
xpi-path: "packages/exts/dist/exts/${{ steps.pkg.outputs.id }}-firefox.zip"
manifest: packages/exts/dist/firefox/manifest.json
# get keys in:
# https://addons.mozilla.org/en-US/developers/addon/api/key/
api-key: ${{ secrets.FIREFOX_API_KEY }}
api-secret: ${{ secrets.FIREFOX_API_SECRET }}
jwt-issuer: ${{ secrets.FIREFOX_JWT_ISSUER }}
jwt-secret: ${{ secrets.FIREFOX_JWT_SECRET }}
continue-on-error: true


###############################################################################
6 changes: 6 additions & 0 deletions packages/_core-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @s-8/core-react

## 0.1.10

### Patch Changes

- update ci

## 0.1.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/_core-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@s-8/core-react",
"version": "0.1.9",
"version": "0.1.10",
"type": "module",
"publishConfig": {
"access": "public",
Expand Down
6 changes: 6 additions & 0 deletions packages/_core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @s-8/core

## 0.1.10

### Patch Changes

- update ci

## 0.1.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/_core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@s-8/core",
"description": "Super8 core functionality",
"version": "0.1.9",
"version": "0.1.10",
"type": "module",
"publishConfig": {
"access": "public",
Expand Down
6 changes: 6 additions & 0 deletions packages/app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @s-8/app

## 0.1.10

### Patch Changes

- update ci

## 0.1.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@s-8/app",
"version": "0.1.9",
"version": "0.1.10",
"type": "module",
"private": true,
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions packages/exts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @s-8/exts

## 0.1.10

## 0.1.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/exts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@s-8/exts",
"description": "Super8 browser extensions",
"private": true,
"version": "0.1.9",
"version": "0.1.10",
"type": "module",
"license": "GPL-3.0",
"scripts": {
Expand Down

0 comments on commit 49fa8d9

Please sign in to comment.