diff --git a/.github/workflows/publish_early.yaml b/.github/workflows/publish_early.yaml new file mode 100644 index 0000000..74ea0a3 --- /dev/null +++ b/.github/workflows/publish_early.yaml @@ -0,0 +1,56 @@ +name: Publish Beta + +on: + push: + branches: [ rust_extension, dev ] + pull_request: + branches: [ dev ] + +jobs: + build_extension: + strategy: + matrix: + arrays: [ + os: { tag: "windows-latest", target: "i686-pc-windows-msvc" }, + os: { tag: "windows-latest", target: "x86_64-pc-windows-msvc" }, + ] + runs-on: ${{ matrix.arrays.os.tag }} + steps: + - name: Checkout Repo + uses: actions/checkout@v2 + - name: Install latest + uses: actions-rs/toolchain@v1 + with: + target: ${{ matrix.arrays.os.target }} + toolchain: stable + default: true + - name: Cargo Build + run: cargo build --release + - name: Upload + uses: actions/upload-artifact@v2 + with: + name: ${{ matrix.arrays.os.target }} + path: target/release/armatak.dll + if-no-files-found: error + retention-days: 30 + package: + needs: build_extension + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + + - uses: actions/download-artifact@v2 + with: + name: x86_64-pc-windows-msvc + - run: mv armatak.dll armatak_x64.dll + - uses: actions/download-artifact@v2 + with: + name: i686-pc-windows-msvc + - name: Setup HEMTT + uses: arma-actions/hemtt@v1 + - name: Build + run: hemtt release + - uses: actions/upload-artifact@v2 + with: + name: armatak.zip + path: 'releases/armatak-latest.zip' \ No newline at end of file diff --git a/.hemtt/project.toml b/.hemtt/project.toml index a976a48..afa4a7d 100644 --- a/.hemtt/project.toml +++ b/.hemtt/project.toml @@ -8,8 +8,8 @@ path = "addons/main/script_version.hpp" build = 0 major = 0 -minor = 5 -patch = 2 +minor = 6 +patch = 0 git_hash = 0