Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ jobs:
with:
ref: main

- name: setup node
uses: actions/setup-node@v4
with:
node-version: 22.x

- name: verify PR was created by version-bump workflow
uses: actions/github-script@v7
env:
Expand Down
24 changes: 1 addition & 23 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: setup node
uses: actions/setup-node@v4
with:
node-version: lts/*

- name: get version
id: version
uses: actions/github-script@v7
Expand Down Expand Up @@ -97,11 +92,6 @@ jobs:
with:
bun-version: latest

- name: setup node
uses: actions/setup-node@v4
with:
node-version: 22.x

- name: get version
id: version
uses: actions/github-script@v7
Expand All @@ -110,12 +100,6 @@ jobs:
const { version } = require('./package.json')
core.setOutput('version', version)

- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}

- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above.
run: |
Expand All @@ -134,12 +118,6 @@ jobs:
if: matrix.platform == 'windows-latest'
run: New-Item -Name ".env" -ItemType File

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

- name: install relic (windows)
if: matrix.platform == 'windows-latest'
run: |
Expand All @@ -149,7 +127,7 @@ jobs:
if: matrix.platform == 'macos-latest'
run: pip3 install codemagic-cli-tools --break-system-packages

- name: install apple certificates and provisioning profiles
- name: install apple certificates and provisioning profiles (macos)
if: matrix.platform == 'macos-latest'
env:
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/version-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ jobs:
with:
fetch-depth: 0

- name: setup node
uses: actions/setup-node@v4
with:
node-version: 22.x

- name: get current version and calculate new version
id: version
uses: actions/github-script@v7
Expand Down Expand Up @@ -73,9 +68,11 @@ jobs:
packageJson.version = process.env.NEW_VERSION
fs.writeFileSync('./package.json', JSON.stringify(packageJson, null, 2) + '\n')

- name: update Cargo.toml
- name: update Cargo.toml and Cargo.lock
run: |
sed -i 's/^version = ".*"/version = "${{ steps.version.outputs.new_version }}"/' src-tauri/Cargo.toml
cd src-tauri
cargo update -p exam-env

- name: update tauri.conf.json
uses: actions/github-script@v7
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.