Skip to content

No need for leading "v" in mise.toml tool versions #44

No need for leading "v" in mise.toml tool versions

No need for leading "v" in mise.toml tool versions #44

name: Test Empty String in changes-file Parameter
on:
push:
pull_request:
jobs:
test:
name: Test no changes file
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Copy test project to root
shell: bash
run: |
cp -a test-project/* .
rm -fr test-project
- name: Build binary
uses: houseabsolute/actions-rust-cross@v0
with:
command: build
args: "--release"
target: x86_64-unknown-linux-gnu
GITHUB_TOKEN: ${{ github.token }}
- name: Release
id: release
uses: ./
with:
executable-name: test-project
target: x86_64-unknown-linux-gnu
changes-file: ""
# We always to do a release during tests, just to make sure that the release part of the
# action works.
_force-release-for-testing: true
action-gh-release-parameters: |
{
"repository": "houseabsolute/actions-rust-release-testing",
"token": "${{ secrets.ACTIONS_RUST_RELEASE_TESTING_TOKEN }}"
}
- name: Install psutils on Windows
run: choco install --ignore-checksums psutils
if: runner.os == 'Windows'
- name: Check release artifacts
shell: bash
run: |
./tests/check-release.py \
--artifact-id "${{ steps.release.outputs.artifact-id }}" \
--executable-name test-project \
--github-token "${{ github.token }}" \
--repo houseabsolute/actions-rust-release \
--target "x86_64-unknown-linux-gnu" \
--no-changes-file