diff --git a/.github/workflows/gen_macos.yml b/.github/workflows/gen_macos.yml index 7e8adb9e9..220def573 100644 --- a/.github/workflows/gen_macos.yml +++ b/.github/workflows/gen_macos.yml @@ -17,7 +17,6 @@ on: jobs: build: runs-on: "macos-11" - steps: - name: "checkout repo" uses: actions/checkout@v2 @@ -83,7 +82,6 @@ jobs: export MACOSX_DEPLOYMENT_TARGET=10.9 mkdir pkg_ mv *.zip pkg_ - - name: "Upload artifact" uses: actions/upload-artifact@master with: diff --git a/.github/workflows/gen_macos_continuous.yml b/.github/workflows/gen_macos_continuous.yml index d4e1c3e8b..9ddd03ed5 100644 --- a/.github/workflows/gen_macos_continuous.yml +++ b/.github/workflows/gen_macos_continuous.yml @@ -19,7 +19,6 @@ on: jobs: build: runs-on: "macos-11" - steps: - name: "checkout repo" uses: actions/checkout@v2 @@ -31,14 +30,12 @@ jobs: export BUILD_REASON=Schedule export MACOSX_DEPLOYMENT_TARGET=10.9 git fetch --depth=1 origin +refs/tags/*:refs/tags/* - - name: "Fetch tag/branch history" shell: bash run: | export BUILD_REASON=Schedule export MACOSX_DEPLOYMENT_TARGET=10.9 git fetch --prune --unshallow - - name: "Install Rust" uses: actions-rs/toolchain@v1 with: @@ -54,42 +51,36 @@ jobs: export BUILD_REASON=Schedule export MACOSX_DEPLOYMENT_TARGET=10.9 rustup target add aarch64-apple-darwin - - name: "Install System Deps" shell: bash run: | export BUILD_REASON=Schedule export MACOSX_DEPLOYMENT_TARGET=10.9 env PATH=$PATH ./get-deps - - name: "Build (Release mode Intel)" shell: bash run: | export BUILD_REASON=Schedule export MACOSX_DEPLOYMENT_TARGET=10.9 cargo build --target x86_64-apple-darwin --all --release - - name: "Build (Release mode ARM)" shell: bash run: | export BUILD_REASON=Schedule export MACOSX_DEPLOYMENT_TARGET=10.9 cargo build --target aarch64-apple-darwin --all --release - - name: "Test (Release mode)" shell: bash run: | export BUILD_REASON=Schedule export MACOSX_DEPLOYMENT_TARGET=10.9 cargo test --target x86_64-apple-darwin --all --release - - name: "Package" shell: bash run: | export BUILD_REASON=Schedule export MACOSX_DEPLOYMENT_TARGET=10.9 bash ci/deploy.sh - - name: "Upload to Nightly Release" uses: wez/upload-release-assets@releases/v1 if: github.event.repository.fork == false diff --git a/.github/workflows/gen_macos_tag.yml b/.github/workflows/gen_macos_tag.yml index 73101a955..7202e80a7 100644 --- a/.github/workflows/gen_macos_tag.yml +++ b/.github/workflows/gen_macos_tag.yml @@ -8,7 +8,6 @@ on: jobs: build: runs-on: "macos-11" - steps: - name: "checkout repo" uses: actions/checkout@v2 diff --git a/.github/workflows/gen_ubuntu18.yml b/.github/workflows/gen_ubuntu18.yml index 6162262fb..7a63ecd95 100644 --- a/.github/workflows/gen_ubuntu18.yml +++ b/.github/workflows/gen_ubuntu18.yml @@ -17,7 +17,6 @@ on: jobs: build: runs-on: "ubuntu-18.04" - steps: - name: "Update APT" shell: bash diff --git a/.github/workflows/gen_ubuntu18_continuous.yml b/.github/workflows/gen_ubuntu18_continuous.yml index e7fd7f37f..cd8c349bc 100644 --- a/.github/workflows/gen_ubuntu18_continuous.yml +++ b/.github/workflows/gen_ubuntu18_continuous.yml @@ -19,7 +19,6 @@ on: jobs: build: runs-on: "ubuntu-18.04" - steps: - name: "Update APT" shell: bash diff --git a/.github/workflows/gen_ubuntu18_tag.yml b/.github/workflows/gen_ubuntu18_tag.yml index 9a6bd7a6e..b65d9b5b5 100644 --- a/.github/workflows/gen_ubuntu18_tag.yml +++ b/.github/workflows/gen_ubuntu18_tag.yml @@ -8,7 +8,6 @@ on: jobs: build: runs-on: "ubuntu-18.04" - steps: - name: "Update APT" shell: bash diff --git a/.github/workflows/gen_windows.yml b/.github/workflows/gen_windows.yml index 218e33c64..50b9ba14d 100644 --- a/.github/workflows/gen_windows.yml +++ b/.github/workflows/gen_windows.yml @@ -17,7 +17,6 @@ on: jobs: build: runs-on: "vs2017-win2016" - steps: - name: "checkout repo" uses: actions/checkout@v2 @@ -53,7 +52,6 @@ jobs: - name: "Build (Release mode)" shell: cmd run: | - PATH C:\Strawberry\perl\bin;%PATH% cargo build --all --release - name: "Test (Release mode)" diff --git a/.github/workflows/gen_windows_continuous.yml b/.github/workflows/gen_windows_continuous.yml index a3dbf9b45..cc3eed8b1 100644 --- a/.github/workflows/gen_windows_continuous.yml +++ b/.github/workflows/gen_windows_continuous.yml @@ -19,7 +19,6 @@ on: jobs: build: runs-on: "vs2017-win2016" - steps: - name: "checkout repo" uses: actions/checkout@v2 @@ -56,7 +55,6 @@ jobs: - name: "Build (Release mode)" shell: cmd run: | - PATH C:\Strawberry\perl\bin;%PATH% cargo build --all --release - name: "Test (Release mode)" diff --git a/.github/workflows/gen_windows_tag.yml b/.github/workflows/gen_windows_tag.yml index 4b8391c9e..86d0a74e3 100644 --- a/.github/workflows/gen_windows_tag.yml +++ b/.github/workflows/gen_windows_tag.yml @@ -8,7 +8,6 @@ on: jobs: build: runs-on: "vs2017-win2016" - steps: - name: "checkout repo" uses: actions/checkout@v2 @@ -41,7 +40,6 @@ jobs: - name: "Build (Release mode)" shell: cmd run: | - PATH C:\Strawberry\perl\bin;%PATH% cargo build --all --release - name: "Test (Release mode)" diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 4dce05d4e..4dabd1b35 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -3,14 +3,14 @@ name: pages on: push: branches: - - main + - main paths: - - 'docs/**' - - 'ci/build-docs.sh' - - 'ci/generate-docs.py' - - 'ci/subst-release-info.py' - - '.github/workflows/pages.yml' - - '.github/ISSUE_TEMPLATE/*' + - "docs/**" + - "ci/build-docs.sh" + - "ci/generate-docs.py" + - "ci/subst-release-info.py" + - ".github/workflows/pages.yml" + - ".github/ISSUE_TEMPLATE/*" schedule: - cron: "50 * * * *"