diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 279853f..711023c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,7 @@ env: jobs: prepare: - runs-on: [self-hosted, X64] + runs-on: [self-hosted, ubuntu-2204-arm64] steps: - name: Checkout repository uses: actions/checkout@v4 @@ -29,7 +29,7 @@ jobs: git config --global user.email "punqs@mogenius.com" git config --global user.name "punq" git config --global credential.helper cache - semantic-release + npx semantic-release VERSION=$(git describe --tags $(git rev-list --tags --max-count=1)) echo "VERSION=$VERSION" >> $GITHUB_ENV COMMIT_HASH=$(git rev-parse --short HEAD)