Skip to content

Commit

Permalink
chore: adjust release vars
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunSHamilton committed Nov 27, 2024
1 parent dc322ea commit 6a58147
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,19 @@ jobs:
matrix:
include:
# TODO: Error failed to bundle project: Failed to copy directory "embedded.provisionprofile" to "embedded.provisionprofile": `"embedded.provisionprofile" does not exist`
# - platform: "macos-latest"
# args: "--target aarch64-apple-darwin"
# - platform: "macos-latest"
# args: "--target x86_64-apple-darwin"
- platform: "macos-latest"
args: "--target aarch64-apple-darwin"
- platform: "macos-latest"
args: "--target x86_64-apple-darwin"
- platform: "ubuntu-22.04"
args: ""
- platform: "windows-latest"
args: ""

runs-on: ${{ matrix.platform }}
env:
VITE_MOCK_DATA: false
VITE_FREECODECAMP_API: https://test-api.freecodecamp.dev
VITE_MOCK_DATA: ${{ vars.VITE_MOCK_DATA }}
VITE_FREECODECAMP_API: ${{ vars.VITE_FREECODECAMP_API }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -98,12 +98,14 @@ jobs:
if: matrix.platform == 'windows-latest'
run: copy sample.env .env

- name: install Go stable
- name: install Go stable (windows)
if: matrix.platform == 'windows-latest'
uses: actions/setup-go@v4
with:
go-version: "stable"

- name: install relic
- name: install relic (windows)
if: matrix.platform == 'windows-latest'
run: |
go install github.com/sassoftware/relic/v8@latest
Expand All @@ -116,6 +118,13 @@ jobs:
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }}
APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
APPLE_DISTRIBUTION_CERT: ${{ secrets.APPLE_DISTRIBUTION_CERT }}
MAC_INSTALLER_DISTRIBUTION_CERT: ${{ secrets.MAC_INSTALLER_DISTRIBUTION_CERT }}
PROVISIONING_PROFILE: ${{ secrets.PROVISIONING_PROFILE }}
APPLE_API_KEY: ${{ secrets.APPLE_API_KEY }}

SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
VITE_FREECODECAMP_API: ${{ env.VITE_FREECODECAMP_API }}
Expand Down

0 comments on commit 6a58147

Please sign in to comment.