diff options
author | 2022-11-06 16:02:10 -0800 | |
---|---|---|
committer | 2022-11-06 16:02:10 -0800 | |
commit | c154402c45e81c23ee53921008ff65f6e95506df (patch) | |
tree | 00c42bdfa679d6cf6716d5ab0b1c04273d3d9a35 | |
parent | 17b8056b3171ae140dc9490cdb859acf4dc56134 (diff) | |
download | bun-c154402c45e81c23ee53921008ff65f6e95506df.tar.gz bun-c154402c45e81c23ee53921008ff65f6e95506df.tar.zst bun-c154402c45e81c23ee53921008ff65f6e95506df.zip |
Undo
-rw-r--r-- | .github/actions/upload-files/action.yml | 46 | ||||
-rw-r--r-- | .github/workflows/bun-mac-aarch64.yml | 9 | ||||
-rw-r--r-- | .github/workflows/bun-mac-x64-baseline.yml | 8 | ||||
-rw-r--r-- | .github/workflows/bun-mac-x64.yml | 8 |
4 files changed, 12 insertions, 59 deletions
diff --git a/.github/actions/upload-files/action.yml b/.github/actions/upload-files/action.yml deleted file mode 100644 index 43a2fe949..000000000 --- a/.github/actions/upload-files/action.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: "Upload Tar Artifact" -description: "Compress files with tar prior to artifacting to keep file privileges." - -inputs: - name: - description: "Artifact name" - default: "artifact" - required: false - path: - description: > - A file, directory or wildcard pattern that describes what to upload. - Note: The path provided will be maintained through tar, so after download-tartifact, and subfolder structure will remain intact. - required: true - if-no-files-found: - description: > - The desired behavior if no files are found using the provided path. - Available Options: - warn: Output a warning but do not fail the action - error: Fail the action with an error message - ignore: Do not output any warnings or errors, the action does not fail - default: "warn" - required: false - retention-days: - description: > - Duration after which artifact will expire in days. 0 means using default retention. - Minimum 1 day. - Maximum 90 days unless changed from the repository settings page. - required: false - -runs: - using: "composite" - steps: - - run: | - rm -rf artifact.tar - tar -cvf artifact.tar -C ${{ inputs.path }} - shell: bash - - - uses: actions/upload-artifact@v3 - with: - name: ${{ inputs.name }} - path: artifact.tar - if-no-files-found: ${{ inputs.if-no-files-found }} - retention-days: ${{ inputs.retention-days }} - - - run: rm artifact.tar - shell: "bash" diff --git a/.github/workflows/bun-mac-aarch64.yml b/.github/workflows/bun-mac-aarch64.yml index b7601cbd9..31731cf3c 100644 --- a/.github/workflows/bun-mac-aarch64.yml +++ b/.github/workflows/bun-mac-aarch64.yml @@ -199,17 +199,16 @@ jobs: make -j $(sysctl -n hw.ncpu) release-bindings - name: Upload C++ if: matrix.compile_obj - uses: ./.github/actions/upload-files + uses: actions/upload-artifact@v3 with: name: ${{ matrix.tag }}-cpp path: ${{ runner.temp }}/bun-cpp-obj - name: Upload Dependencies if: matrix.dependencies - uses: ./.github/actions/upload-files + uses: actions/upload-artifact@v3 with: name: ${{ matrix.tag }}-deps path: ${{runner.temp}}/bun-deps - macOS: name: macOS Link runs-on: ${{ matrix.runner }} @@ -275,12 +274,12 @@ jobs: mkdir -p $JSC_BASE_DIR curl -L ${{ matrix.webkit_url }} | tar -xz -C $JSC_BASE_DIR --strip-components=1 - name: Download C++ - uses: alehechka/download-tartifact@v1 + uses: actions/download-artifact@v3 with: name: ${{ matrix.tag }}-cpp path: ${{ runner.temp }}/bun-cpp-obj - name: Download Dependencies - uses: alehechka/download-tartifact@v1 + uses: actions/download-artifact@v3 with: name: ${{ matrix.tag }}-deps path: ${{ runner.temp }}/bun-deps diff --git a/.github/workflows/bun-mac-x64-baseline.yml b/.github/workflows/bun-mac-x64-baseline.yml index 90cf1ea36..3c1ebbcc2 100644 --- a/.github/workflows/bun-mac-x64-baseline.yml +++ b/.github/workflows/bun-mac-x64-baseline.yml @@ -193,13 +193,13 @@ jobs: make -j $(sysctl -n hw.ncpu) release-bindings - name: Upload C++ if: matrix.compile_obj - uses: ./.github/actions/upload-files + uses: actions/upload-artifact@v3 with: name: ${{ matrix.tag }}-cpp path: ${{ runner.temp }}/bun-cpp-obj - name: Upload Dependencies if: matrix.dependencies - uses: ./.github/actions/upload-files + uses: actions/upload-artifact@v3 with: name: ${{ matrix.tag }}-deps path: ${{runner.temp}}/bun-deps @@ -271,12 +271,12 @@ jobs: mkdir -p $JSC_BASE_DIR curl -L ${{ matrix.webkit_url }} | tar -xz -C $JSC_BASE_DIR --strip-components=1 - name: Download C++ - uses: alehechka/download-tartifact@v1 + uses: actions/download-artifact@v3 with: name: ${{ matrix.tag }}-cpp path: ${{ runner.temp }}/bun-cpp-obj - name: Download Dependencies - uses: alehechka/download-tartifact@v1 + uses: actions/download-artifact@v3 with: name: ${{ matrix.tag }}-deps path: ${{ runner.temp }}/bun-deps diff --git a/.github/workflows/bun-mac-x64.yml b/.github/workflows/bun-mac-x64.yml index 253d63e76..fa69bc290 100644 --- a/.github/workflows/bun-mac-x64.yml +++ b/.github/workflows/bun-mac-x64.yml @@ -194,13 +194,13 @@ jobs: make -j $(sysctl -n hw.ncpu) release-bindings - name: Upload C++ if: matrix.compile_obj - uses: ./.github/actions/upload-files + uses: actions/upload-artifact@v3 with: name: ${{ matrix.tag }}-cpp path: ${{ runner.temp }}/bun-cpp-obj - name: Upload Dependencies if: matrix.dependencies - uses: ./.github/actions/upload-files + uses: actions/upload-artifact@v3 with: name: ${{ matrix.tag }}-deps path: ${{runner.temp}}/bun-deps @@ -273,12 +273,12 @@ jobs: mkdir -p $JSC_BASE_DIR curl -L ${{ matrix.webkit_url }} | tar -xz -C $JSC_BASE_DIR --strip-components=1 - name: Download C++ - uses: alehechka/download-tartifact@v1 + uses: actions/download-artifact@v3 with: name: ${{ matrix.tag }}-cpp path: ${{ runner.temp }}/bun-cpp-obj - name: Download Dependencies - uses: alehechka/download-tartifact@v1 + uses: actions/download-artifact@v3 with: name: ${{ matrix.tag }}-deps path: ${{ runner.temp }}/bun-deps |